Open In App

Google Internship Interview Experience | Off-Campus 2022

Applications for Google Summer Internship 2022 were open and I applied. I did not expect to hear back from them as my application was off-campus, without referrals, from a tier 3 college. But I did hear back from Google with an interview offer around 3 weeks later. We also had an interviews preparation session.

I have undergone 2 rounds of technical interviews 45 min each.



Round 1: Interview 1

For example – input – >[1,2,3] —- new array -> [1,2,2,4,3,6] —— 
any shuffled version -> [2,3,4,6,2,1] 



For example – input ->[2,3,4,6,2,1] output – [1,2,3]
 

Round 2: Interview 2

Below is the tree node structure

Case 1)Only 1 node i.e. root node present
Root(length = 5,data = ABCDE) 
Case 2)Multiple nodes presents
Root(length = 21) 
left child(length = 5, data = ABCDE)
right child(length = 16)
left child of right child(length = 10, data = FGHIJKLMNO )
right child of right child(length = 6, data = PQRSTU )

 

Article Tags :