TikTok interview question

Find the Least Common Ancestor in a Tree

Interview Answer

Anonymous

18 June 2024

The most frustrating portion. Interviewer would not allow me to type out a structure, and demanded I explain my methodology. Claimed I "didn't know recursion"