Google L3 Interview Experience

Anonymous User
1463
Apr 20, 2025
Apr 20, 2025

On-site 1:

You are given multiple cities and a city A, each city is at a distance represented by time it takes to reach it. You are given n favorite cities, find the shortest time to reach any of the favorite cities and return the time required to reach favorite city

On-site 2:

  1. Given a binary tree, return true if all the values of node are equal
  2. Given a binary tree, return maximum binary sub tree size where all values of node are equal
        2
    2	    2
2  	  2  2      3

ans: 3

On-site 3:

String expression evaluation
Ex: 2a+2b-(a-b)
Ans: a+3b

Comments (8)