problemscpp
A collection of my answers to algorithm problems in c++.
载入中...
搜索中...
未找到
acwing::acwing28::Solution类 参考

#include <acwing.h>

静态 Public 成员函数

static void deleteNode (ListNode *node)
 

详细描述

在文件 acwing.h1611 行定义.

成员函数说明

◆ deleteNode()

void acwing::acwing28::Solution::deleteNode ( ListNode * node)
static

在文件 acwing.cpp5043 行定义.

5043 {
5044 node->val = node->next->val;
5045 const auto *next = node->next;
5046 delete next;
5047 node->next = node->next->next;
5048 }

引用了 deleteNode(), acwing::ListNode::next , 以及 acwing::ListNode::val.

被这些函数引用 deleteNode().


该类的文档由以下文件生成: