Top 10 coding interview problems asked in Google with solutions: Algorithmic Approach