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
Tech Industry
Yesterday
1606
Women, help me understand why this is inspirational
India
1h
183
'Hindutva': The Radical Hindu Ideology That Seeks to 'Push Christianity Out of Indiaā
AMA
Yesterday
692
PM Manager, early 40s, married and ENM (Ethical Non Monogamous) AMA
World Conflicts
5h
410
Canadian family moves to Russia for opportunities
Tech Industry
Yesterday
2861
What happens when most of your team is Indian?
Quick select.