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