I gave an interview today where the interviewer just pasted this in coderpad and expected me to figure out the pattern and solve it. What do you guys think about this? I find this very unrealistic expectation Question: # Input: 1,8,4,6,2,8,2,4,2,7,1,8,6,1,2,8,8,7 # Output:4,4,6,6,7,7,1,1,1,2,2,2,2,8,8,8,8,8 #nerdwallet
Looks like its sorted by the count of number of times each value occurs in ascending order
Order by frequency.
What a dumb interview question.
I like this and I think it's closer to the actual job than leetcode is since you know all those business degrees have no brains when giving requirements.
It’s an incredibly easy question but you would wonder how many people don’t get it.
Feels like Leetcode > any knowledge
Tech Industry
11h
534
How’s capitalism going?
Tech Industry
3h
477
Question for those over 40
India
17h
3254
Why is it so G*damn difficult to move money out of India
AMA
Yesterday
3348
I have worked at TikTok US core tech for 3 years. AMA.
Ask Blinders
22h
1016
Why Pronouns shit captured US ? I don’t see this anywhere else
Sort via frequency, and if same frequency then sort via value
You are hired