Essa empresa é sua?
Find before last element in a LinkedList.
Sigiloso
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.
I answered based on the Java API implementation. That was the wrong answer.
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Comece a buscar vagas para receber atualizações e recomendações personalizadas.