Loading...
Engaged employer
You are given 1 stack of integers. Sort the stack efficiently. Consider time and space complexity
Anonymous
Using another stack (O(n^2) time, (O(n) space)
If you want better you can use array and do regular sort which is nlongn and space o(n)
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.