LeetCode
Question
·
Nov 2019
·
New York
Facebook | Phone Screen | Pancake Sorting
1 upvote
1,250 views
4 replies
Question Details
Location: New York Question: Given a method reverse: java /* Reverse the first k elements. Eg. [2,3,1,5,4] and k =3 Output : [2,3,1,5,4] */ void reverse(int[] arr, k); write another method which will sort the array by...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Sorting
More from Meta
Reddit
Leetcode is cooked in 2026 and we don't hire people who only grind leetcode.
Reddit
Returning to SWE work after 3 years of cancer treatment
Reddit
2026 New Grad Recap
Reddit
Most likely failed meta phone screen
Reddit
Targeting OpenAI SWE Roles? Insights on what to expect from recent system design loops