algorithms
algorithms copied to clipboard
Issue 1: Typo in `addTwoNumbers` in `add2nums.py`
The code has listNode(0) instead of ListNode(0). This will cause a NameError. Also, there's a ternary operator using ? and : which is not valid Python syntax. There is missing logic in the while loop, the code is incomplete.