Frage im Vorstellungsgespräch bei Lyft

Return second largest number in a binary tree.

Antworten zu Vorstellungsgespräch

Anonym

28. Feb. 2018

Second largest in binary search tree seems like an appropriate question.

Anonym

18. Sep. 2020

If its a binary tree then O(N) if BST then O(h)