moved includes to top of file

This commit is contained in:
weiss-ben 2022-09-17 03:40:03 +03:00
parent a59540e493
commit 215a8857ee

View File

@ -17,6 +17,9 @@
* @author [Benjamin Weiss](https://github.com/weiss-ben)
*/
#include <iostream> /// for IO operations
#include <cassert> /// for assert
/**
* Definition for singly-linked list.
*/
@ -27,9 +30,6 @@ struct ListNode {
ListNode(int x) : val(x), next(nullptr) {} ///< constructor with value for node->val provided
ListNode(int x, ListNode *next) : val(x), next(next) {} ///< constructor with values provided for node->val and node->next
};
#include <iostream> /// for IO operations
#include <cassert> /// for assert
/**
* @namespace search