an algorithm to find if a FORKED list is circular

前端 未结 0 547
谎友^
谎友^ 2021-01-06 04:52

a forked list is kind of a linked list that there exists a node (at least) that has two \'next\'s, next1 and next2. i.e., each node is made up of 3 attributes - value, next1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题