algorithms
algorithms copied to clipboard
Issue : Incorrect variable usage in reverseList function
In the reverse_list.py file, the reverseList function has a typo. The curr = next assignment inside the while loop should be curr = following. This is because next is not defined, and the intention is to move the curr pointer to the node that was previously following it.