Reddit Experience · Apr 2026

Subtree of Another Tree - are we really expected to do anything but the 'naive' solution in an intreview??

4 upvotes 11 replies

Interview Experience

like seriously?? have you ever gotten this in an interview and were expected to do it in O(M+N) time?

Full Details

like seriously?? have you ever gotten this in an interview and were expected to do it in O(M+N) time?

Free preview. Unlock all questions →

Topics

Trees