Pergunta de entrevista da empresa Cubic

Find before last element in a LinkedList.

Respostas da entrevista

Sigiloso

19 de jan. de 2018

You need to go to the end and then count your way back, make sure to pass back the node each time its passed back.

1

Sigiloso

9 de nov. de 2017

I answered based on the Java API implementation. That was the wrong answer.