← MakeMyTrip questions
CodingReported in a candidate post, Oct 2024

Find Closest Common Manager and Subarray with Zero Sum

Filed under MakeMyTrip

Part 1: Find the Lowest Common Ancestor (LCA) of two nodes in an N-ary tree (Employee hierarchy). Part 2: Given an array, find if there exists a subarray that sums to zero.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MakeMyTrip questions

Collected from public candidate posts and coding forums. Updated Nov 2026.