Sponsored
Use these hints if you're stuck. Try solving on your own first.
Build the correct order of heights by sorting another array, then compare the two arrays.
Solve with full IDE support and test cases