Domanda di colloquio di Cubic

Find before last element in a LinkedList.

Risposte di colloquio

Anonimo

19 gen 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

Anonimo

9 nov 2017

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