diff --git a/data_structures/reverse_a_linked_list.cpp b/data_structures/reverse_a_linked_list.cpp index ab40f83fd..29c9ec7f6 100644 --- a/data_structures/reverse_a_linked_list.cpp +++ b/data_structures/reverse_a_linked_list.cpp @@ -17,8 +17,9 @@ * 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 * 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 /// for assert #include /// for I/O operations @@ -39,8 +40,8 @@ namespace linked_list { */ class Node { public: - int32_t val; /// value of the current link - Node *next; /// pointer to the next value on the list + int32_t val; /// value of the current link + Node *next; /// pointer to the next value on the list }; /**