Print a singly-linked list backwards, in constant space and linear time

后端 未结 0 677
眼角桃花
眼角桃花 2021-02-15 03:35

I heard an interview question:

\"Print a singly-linked list backwards, in constant space and linear time.\"

My solution was to re

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