![]() |
reverse-nodes-in-k-group 1.0.0
Reverse Nodes in k-Group
|
#include <bits/stdc++.h>
Go to the source code of this file.
Data Structures | |
| struct | ListNode |
| Definition for singly-linked list. More... | |
| class | Solution |
Functions | |
| void | print_tree (ListNode *head) |
| void | delete_tree (ListNode *head) |
| int | main () |
| void delete_tree | ( | ListNode * | head | ) |
Definition at line 95 of file main.cpp.
References ListNode::next.
Referenced by main().
| int main | ( | ) |
Definition at line 112 of file main.cpp.
References delete_tree(), print_tree(), and Solution::reverseKGroup().
| void print_tree | ( | ListNode * | head | ) |
Definition at line 84 of file main.cpp.
References ListNode::next, and ListNode::val.
Referenced by main().