Update search/median_search2.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
weiss-ben
2022-09-12 14:11:15 +03:00
committed by GitHub
parent ccd386bc24
commit d3fdc38640

View File

@@ -62,9 +62,11 @@ ListNode* middleNode(ListNode* head) {
} // namespace search
/**
* Function to test above algorithm
* @brief Self-test implementations
* @returns void
*/
void test(){
*/
static void test() {
ListNode* head = new ListNode;
head->val = 1;