LinkedIn | Seattle | PS+VO | Sr SDE
PS
Project description
BQ: You delivered something that you initially thought is definitely not possible.
1.) Return true if the number has a square root else False, Basically binary search from 1 to mid/2
2.) Given a graph of users, return the connection_path between them. Bob -> Alice -> Franck.. connection length is 2.
Follow up: What is Bob has multiple users or bob is a celeb and Frank is also a celeb
The idea was to start with bi directional BFS.
essentially minimize distance[node][some_neighbour] + distance[some_neighbour][destination]
VO
Round 1:
LCA of a BST and BT.
Round 2:
Leaves will fall in the sequence : [(D, E, C), (B), (A)] Even though example if BT, but it can b an n-ary tree. Basically topological traversal but with outdegree
Round 3: Technical Communication
My Project discussion
Round 4: Design Calendar
Round 5: HM round
My project discussion + a couple of BQ