News for hackers. Stuff that matters.
Re:Why do interviewers ask linked list questions? by nicbou on Monday March 29, 2021 @04:59PM (#26628093)
On the other hand, there are some common data structures that are essential in day to day software development.

Hash maps are one of them. If you're not aware of their performance benefits, it will probably impact the quality of your work.

I think it would be fair to test for that with a scenario where a hash map is required, and see what they do. No coding involved, just "what would you do here".

Re:Why do interviewers ask linked list questions? by collyw on Tuesday March 30, 2021 @04:22AM (#26632264)
The majority of work these days are web apps, and the bottlenecks are usually database query and IO issues. Many can be solved with an appropriate index. If you have a slow Django app, I would guess than 9 out of 10 times it is someone who is letting the ORM produce far too many queries in loops. Hashmaps are never something I have needed to look into personally, but I guess it depends on exactly what you are coding.
Re:Why do interviewers ask linked list questions? by nicbou on Tuesday March 30, 2021 @12:58PM (#26637119)
There's quite a bit of data wrangling happening both in the backend and in the frontend.
Re:Why do interviewers ask linked list questions? by collyw on Wednesday March 31, 2021 @04:41PM (#26652878)
Rereading your comment, do you mean just using a hashmap / dictionary, or do you mean writing your own hashing functions? The first is invaluable, but I have never had the need for the second (pretty sure you could define your own hashing functions in Perl, but I never found the need).