How to return the first node containing the item with maximum value in C linked list?

后端 未结 0 974
误落风尘
误落风尘 2021-01-21 21:00

I am trying to return the first node that contains the item which has a maximum value. Here is my code,

struct ListNode* CreateNode(int item) {
    struct ListNod         


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