mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-13 15:37:06 +08:00
Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user