Interviewer: give me k largest elements from an unsorted array Me: pulls a fast one using partial_sort Interviewer: Not so fast. Code the sorting algo too. Me: The fuq #meta
The bar
lol straight from leetcode, not complaining though ๐
I mean, its a phone screen. Straight from leetcode is fair game imo
I had this question, I bet it was same interviewer. What was his ethnicity?
Indian dude!!!!
Ok different guy
If array is way too long? How will your solution look like?
Min heap of size k
Quick Select
Heap
What is partial sort
India
2h
1240
Public fapping epidemic
Tech Industry
Yesterday
2354
The end of Backdoor Roth?!
Tech Industry
Yesterday
2925
Quitting this Slave life
Tech Industry
4h
662
Women, help me understand why this is inspirational
Working Parents
Yesterday
1010
What do you think is wrong with a kid who got rejected by 9 colleges?
Quick select.