mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-13 23:46:33 +08:00
Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -39,7 +39,7 @@ namespace search {
|
||||
namespace median_search2 {
|
||||
/**
|
||||
* This function searches for the median of a linked list.
|
||||
* @param head, The head of the linked list.
|
||||
* @param head The head of the linked list.
|
||||
* @returns Median node of the linked list.
|
||||
*/
|
||||
ListNode* middleNode(ListNode* head) {
|
||||
|
||||
Reference in New Issue
Block a user