You are viewing a single comment's thread. Return to all comments →
def getNode(llist, positionFromTail): len1 = 0 temp = llist while temp: len1 += 1 temp = temp.next temp = llist for i in range(len1 - positionFromTail - 1): temp = temp.next return temp.data
Seems like cookies are disabled on this browser, please enable them to open this website
Get Node Value
You are viewing a single comment's thread. Return to all comments →