problemscpp
A collection of my answers to algorithm problems in c++.
静态 Public 成员函数 | 所有成员列表
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 }

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