Question d’entretien chez Google

How to find if two binary trees have the same structure?

Réponses aux questions d'entretien

Utilisateur anonyme

31 août 2018

Recursive solution checking structure at current node, then check left, then check right.

1

Utilisateur anonyme

26 févr. 2021

Through questions like this, interviewers are mostly trying to test your skillset (and its relevance to the role) as robustly as possible, so be prepared for multiple offshoots and followups. It could be a useful exercise to do mocks with friends or colleagues in Google to get a real sense of what the interview is actually like. Alternatively Prepfully has a ton of Google Site Reliability Engineer experts who provide mock interviews - they provide incredible value at a great price. prepfully.com/practice-interviews

1