I was interviewd for google SDE position in March 2021 . I am sharing my interview experience here.
Initially a recruiter reached out to me and scheduled a phone interview . I scheduled it after a month. It was initial phone interview where I was shared a DSA problem.
Create an alogorithm to arrange the received packets of TCP/IP in ascending order. You will be receive the incoming packets continuously in random order (integer) eg. 9, 3, 4 ,7 etc and at any given time you should be returning the longest consecutive sub sequence in increasing order based on the inputs received. For Example :