Filter interviews by
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Find K most frequent elements in an array
Use a hashmap to store the frequency of each element in the array
Sort the hashmap based on frequency in descending order
Return the first K elements from the sorted hashmap
Top trending discussions
posted on 26 Aug 2022
I applied via Apna Jobs
Interview experience
Technical Lead
236
salaries
| ₹12 L/yr - ₹44 L/yr |
Senior Software Engineer
122
salaries
| ₹10 L/yr - ₹30 L/yr |
Software Engineer
90
salaries
| ₹6 L/yr - ₹20 L/yr |
Manufacturing Engineer
85
salaries
| ₹5.5 L/yr - ₹16 L/yr |
Mechanical Engineer
61
salaries
| ₹5 L/yr - ₹20 L/yr |
Lam Research
KLA
ASML
Entegris