Re:Why do interviewers ask linked list questions?
by collyw on Thursday April 01, 2021 @08:11AM
(#26659456)
I got asked a python question that involved a couple of list comprehensions. I did it and got asked how to do it without an intermediate variable. It involved nesting the list comprehensions, and I nearly didn't get it, not because I didn't understand how to do it, just that I have a personal rule never to do that, as it makes code quite difficult to read.
[ Parent
| on HN ]
There are no comments on this comment yet.