We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
defgetNode(llist,positionFromTail):# Write your code herelast_index=llistfor_inrange(positionFromTail):last_index=last_index.nextdesire_position=llistwhilelast_index.next:last_index=last_index.nextdesire_position=desire_position.nextreturndesire_position.data
Get Node Value
You are viewing a single comment's thread. Return to all comments →