Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Denys Stopkin
[1,2,3,4,5,6] 6 is incorrect?

Denys Stopkin

Jul 6, 2025

Why doesn't it have a loop? [1,2,3,4,5,6]

6 The last node loops itself as far as I get from the explanation. Only this->next == nullptr in the last node means there's no loop in the list

0

0

Comments
Comments

On this page