摘要: 代码: #include <iostream> class DoubleNode{public: int value; DoubleNode* last; DoubleNode* next; DoubleNode(int data){ this->value = data; }}; DoubleNo 阅读全文
posted @ 2020-08-11 13:52 诗和远方* 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 代码: #include <iostream> class Node{public: int value; Node* next; Node(int data){ this->value = data; }} *node; Node* removeLastKthNode(Node* head,int 阅读全文
posted @ 2020-08-11 01:26 诗和远方* 阅读(462) 评论(0) 推荐(0) 编辑