Loading...
Is this your company?
Find before last element in a LinkedList.
Anonymous
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.
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.