C语言leetcode相交链表,为什么报这种错误?

这是问题
image.png
image.png

我在里面输入了一组测试样例
image.png
这个是我测试的别人的代码
image.png
为什么会报这种错误啊,错误原因是什么?
image.png
The two lists should be the same starting from the intersection point.

阅读 1.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进