From 969b4477730a837f996057e5fbd95639e9b4151c Mon Sep 17 00:00:00 2001 From: Arjit Malik Date: Wed, 26 Oct 2022 06:25:21 +0530 Subject: [PATCH] docs: updated a logically wrong doc comment (#2329) --- sorting/merge_sort.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sorting/merge_sort.cpp b/sorting/merge_sort.cpp index e8bf5ccc5..74087491b 100644 --- a/sorting/merge_sort.cpp +++ b/sorting/merge_sort.cpp @@ -22,11 +22,11 @@ * arr[l..m] and arr[m+1..r] are sorted and merges the two * sorted sub-arrays into one. * - * @param arr - array with two halves arr[l...m] and arr[m+1...l] + * @param arr - array with two halves arr[l...m] and arr[m+1...r] * @param l - left index or start index of first half array * @param m - right index or end index of first half array * - * (The second array starts form m+1 and goes till l) + * (The second array starts form m+1 and goes till r) * * @param r - end index or right index of second half array */