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.
python 3 code, easy to understand :). I used one pointer to get the length of the list than subtracted position from it and reach the required node via another pointer which was on head of the list.
Get Node Value
You are viewing a single comment's thread. Return to all comments →
python 3 code, easy to understand :). I used one pointer to get the length of the list than subtracted position from it and reach the required node via another pointer which was on head of the list.