Live data from Hacker News

The most important data structure for tech interviews

crunchskills.com

1–2 of 2 posts

Re: The most important data structure for tech interviews

#2
I would argue that HashMap is actually the least useful structure for algo challenges/questions. They are often forbidden as an answer by the interviewer (especially since they usually lead to easy O(1) or O(n) answers), pretexting "memory limitations", to force the interviewee to use arrays/lists.