mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
clang-format and clang-tidy fixes for 3b2e68c2
This commit is contained in:
parent
3b2e68c22b
commit
bc43643715
@ -17,8 +17,9 @@
|
|||||||
* happens. And then we move the prev and current pointers one step forward.
|
* happens. And then we move the prev and current pointers one step forward.
|
||||||
* Then the head node is made to point to the last node (prev pointer) after
|
* Then the head node is made to point to the last node (prev pointer) after
|
||||||
* completion of an iteration.
|
* completion of an iteration.
|
||||||
* Graphic Explanation:https://drive.google.com/file/d/1pM5COF0wx-wermnNy_svtyZquaCUP2xS/view?usp=sharing
|
* Graphic
|
||||||
*
|
* Explanation:https://drive.google.com/file/d/1pM5COF0wx-wermnNy_svtyZquaCUP2xS/view?usp=sharing
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
#include <cassert> /// for assert
|
#include <cassert> /// for assert
|
||||||
#include <iostream> /// for I/O operations
|
#include <iostream> /// for I/O operations
|
||||||
@ -39,8 +40,8 @@ namespace linked_list {
|
|||||||
*/
|
*/
|
||||||
class Node {
|
class Node {
|
||||||
public:
|
public:
|
||||||
int32_t val; /// value of the current link
|
int32_t val; /// value of the current link
|
||||||
Node *next; /// pointer to the next value on the list
|
Node *next; /// pointer to the next value on the list
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user