LeetCode
Experience
·
Dec 2020
·
USA
Facebook | Phone | Custom Sort String & Find subarray with given sum
8 upvotes
2,745 views
5 replies
Interview Experience
Question 1: Given one string (\'abbceeeg\') sort it based on another string (\'egbca\') Result will be: \'eeegbbca\' Solved in nlog(n) and O(n) space. Was hinted there could be better run time. Struggled for...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Hash Table
Strings
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