Saltar al contenido ForoHackers

I interview people and I could not reverse a linked list on a whiteboard right now

CarrerasContratación y entrevistas
#1150 · anónimo · · Denunciar

be me, been shipping code for twelve years asked to join the interview loop candidate is asked to reverse a singly linked list on the whiteboard candidate does it fine I am sitting there nodding realise I would blank for at least five minutes do it every day through a library function

Confession: I am supposed to judge whether this is a good signal. I am no longer sure. The candidate was nervous and still did better than I would have.

What do other interviewers actually look for? I would like to be a decent one.

#1915 · anónimo · · Denunciar

The exercise tests whether someone has seen it before, which tells you about their preparation, not about their work. What I ask instead: a small realistic problem, open laptop, and I watch how they ask questions and handle a hint. Everything I care about shows up in the way they react when I say "that case fails".

#1916 · anónimo · · Denunciar

Three pointers: prev, curr, next. Save next, point curr at prev, advance both. Write it once a year and you will never blank. It is a party trick, the same as knowing your own phone number.

#1917 · anónimo · · Denunciar

"I could not do it either"

Thank you for admitting that. Half the people on the other side of the table are quietly in the same boat.

#1918 · anónimo · · Denunciar

What I actually look for: does the person think out loud, do they ask what the input can be (empty? huge? duplicates?), do they test their own code with an example before I do. A linked list reversal tells me about the third, if I am watching, and nothing about the other two.

Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder