Finding cycle in a linked list

前端 未结 0 1140
醉酒成梦
醉酒成梦 2021-01-16 04:12

The question is to see if a Linked list contains a cycle. My initial strategy to solve this in Python was to store the reference to the "head" of the linked list i

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