Google Onsite Interview Round 1

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-09-23Added By Anonymous
Source: Link

Company: Google
Role: unknown
Interview Stage: Onsite
Location: unknown
Year: unknown

Original Post Content:

I had my onsite round yesterday and these questions were asked:
1. Return the first element that does not follow the alphabetical order.
2. Find the nodes that are at K distance from the target node in a binary tree.

Comments