problemscpp
A collection of my answers to algorithm problems in c++.
acwing
acwing17
Solution
静态 Public 成员函数
|
所有成员列表
acwing::acwing17::Solution类 参考
#include <
acwing.h
>
静态 Public 成员函数
static vector< int >
printListReversingly
(
ListNode
*head)
详细描述
在文件
acwing.h
第
1695
行定义.
成员函数说明
◆
printListReversingly()
vector< int > acwing::acwing17::Solution::printListReversingly
(
ListNode
*
head
)
static
在文件
acwing.cpp
第
5212
行定义.
5212
{
5213
deque<int> deq;
5214
for
(
const
auto
*current = head; current !=
nullptr
; current = current->next) {
5215
deq.push_front(current->val);
5216
}
5217
return
vector(deq.begin(), deq.end());
5218
}
该类的文档由以下文件生成:
acwing.h
acwing.cpp
制作者
1.9.2