removes all nodes in a linked list with a value greater than num javascript

后端 未结 0 1635
失恋的感觉
失恋的感觉 2021-02-19 08:58

how to delete all the nodes from the list that are greater than the specified value? For example: List : 10->3->17->5->2->14->7 value: 9 output: 3->5->2-

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