← Informatica questions

Sort a stack

Filed under Informatica · Also reported at Delhivery, Kuliza, Virtusa

Given a stack, write an algorithm to sort its elements such that the smallest element is at the top.

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

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