Pergunta de entrevista da empresa Yahoo

Given two nodes of a binary tree, find their lowest common ancestor.

Respostas da entrevista

Sigiloso

20 de mar. de 2019

The interviewer was very friendly. She gave me enough time to think about the problem and did not force me to keep talking. When I presented my solution, she listened to it well and then have her input. We worked on it and at the end, I was able to provide an optimal solution.

Sigiloso

26 de jan. de 2021

In these sorts of interviews you really need to drill down and understand what the interviewer is looking for. A good way to simulate a real interview experience is to do a mock with one of the Oath Software Engineer experts on Prepfully, rated super strongly on TrustPilot... prepfully.com/practice-interviews