I was applying for a JavaScript dev job and all the problems that the interviewer asked me to do were resolved by using array functions like map, filter, reduce, etc. For each problem he told me that he wanted me 'to not use those shortcuts' then what I did was to redo all problem with for loops and then he told me that he wanted me implement data structures on all my solutions. Which I did but I told him that it didn't make sense to me why someone will need to know how to implement a hash table to solve a problem that has a one liner solution in JS. They rejected me I guess he didn't like that comment.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I was applying for a JavaScript dev job and all the problems that the interviewer asked me to do were resolved by using array functions like map, filter, reduce, etc. For each problem he told me that he wanted me 'to not use those shortcuts' then what I did was to redo all problem with for loops and then he told me that he wanted me implement data structures on all my solutions. Which I did but I told him that it didn't make sense to me why someone will need to know how to implement a hash table to solve a problem that has a one liner solution in JS. They rejected me I guess he didn't like that comment.