Map/Two-pointer and challenging tree DSA problem
Filed under Microsoft
The question
Solve a DSA problem using maps and two pointers (LC medium), followed by a challenging tree data structure problem (LC hard) requiring logarithmic time complexity after rejecting a brute force approach.
No write-up yet. Related questions below have one.
Related Microsoft questions
Collected from public candidate posts and coding forums. Updated Nov 2026.