Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 912. Sort an Array
Sort an integer array in ascending order without using built-in sort routines, achieving O(n log n) time and minimal extra space; input size is up to 5×10^4 with values in the range ±5×10^4.
Asked at:
Microsoft
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late January, 2025
Microsoft
Intern
Implement heap sort
Mid January, 2025
Amazon
Junior
Implement selection sort
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.