algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

My solved algorithm problems, notes, and techniques

Results 4 algorithms issues
Sort by recently updated
recently updated
newest added

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...

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...