javascript-algorithms/src
Seymur 53781db275
Null Reference Exception (#817)
When `n.next = tail` is true, we assign `n` to `tail` and `null` to `tail.next`, so `n.next` also becomes `null`. Then we assign `n.next.next` (because now `n.next` is `null`), we try to get `next` of `null`. That is why we should add an `else` case to check if `n.next` is not equal to `tail`.

Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-01-22 10:19:14 +01:00
..
algorithms Upgrade dependencies. (#841) 2022-01-22 09:58:38 +01:00
data-structures Null Reference Exception (#817) 2022-01-22 10:19:14 +01:00
playground Adding more details on how to run the playground code to address the issue #705. 2021-05-14 09:56:18 +02:00
utils/comparator Testing Codecov integration without web-hooks. 2021-05-18 08:44:13 +02:00