Re:Stop Interviewing with Leet Code
by mrtksn on Thursday June 09, 2022 @05:23AM
(#31679193)
Was the bug in the algorithm resulting in wrong results? Was it a kind of implementation bug that happens due to peculiarities in the language/compiler?
[ Parent
| on HN ]
Re:Stop Interviewing with Leet Code
by jamesdhutton on Thursday June 09, 2022 @05:29AM
(#31679223)
It was a bug in the algorithm, resulting in wrong results. For example, I recall that to fix the linked-list insertion code, you needed to add a line of code to increment a pointer.