← Flipkart questions

Determine Ascending Order of Elephants from Height Comparisons

Filed under Flipkart

Given a set of comparative statements about the heights of elephants, determine a valid global ascending order of all elephants. If multiple valid orders exist, return any; if a cycle exists, return…

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 Flipkart questions

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