diff --git a/search/median_search2.cpp b/search/median_search2.cpp index 0d019af83..ab6e5b720 100644 --- a/search/median_search2.cpp +++ b/search/median_search2.cpp @@ -17,6 +17,9 @@ * @author [Benjamin Weiss](https://github.com/weiss-ben) */ +#include /// for IO operations +#include /// 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 /// for IO operations - #include /// for assert /** * @namespace search