- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 链表返回倒数第K个值
链表返回倒数第K个值#include<iostream> using namespace std;struct listnode{ int value; listnode* next; listnode(int x) { value = x; next = nullptr; }};listnode* funk(listnode* head, int k){ listnode* cur = head; for (int i = 0; i < k; i+
2020-09-02 17:15:36
162
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人