News for hackers. Stuff that matters.
Re:Senior devs. Is anyone else insulted by coding exams? by rr808 on Wednesday March 09, 2022 @11:36AM (#30616492)
Honestly I dont know the answer for this, its a trick you never need in the real world, but maybe it does test if you did compsci 101. I failed this as a Senior dev inverviewee, went back and learnt it so was preprared for the next time. It didn't make me a better programmer but now shows I've learned the basic tricks.
Re:Senior devs. Is anyone else insulted by coding exams? by sasquatch_9 on Wednesday March 09, 2022 @12:37PM (#30617528)
What is the trick in reversing a linked list? The solution is just some while loops...

Anyways it is a bad question to ask because it is very easy and is frequently studied so candidates just memorise the answer.

Re:Senior devs. Is anyone else insulted by coding exams? by rr808 on Wednesday March 09, 2022 @01:59PM (#30618596)
One while loop. Maybe you need to memorize again :).
Re:Senior devs. Is anyone else insulted by coding exams? by seba_dos1 on Wednesday March 09, 2022 @05:20PM (#30620733)
There's no need to memorize anything at all; if you can code you can come up with a solution on your own within at most minutes.
Re:Senior devs. Is anyone else insulted by coding exams? by sasquatch_9 on Wednesday March 09, 2022 @05:22PM (#30620762)
I do not need to memorize it that was the point I was making, as it is so simple I can and have worked it out on the spot.