Loading...
Is this your company?
How do you reverse a linked list?
Anonymous
# presume we have head prev = None curt = head while curt: temp = curt.next curt.next = prev prev = curt curt.temp return prev
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.