From 41ebf2854599435baa5331a387385a4f8ee470b8 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 26 Oct 2022 01:06:53 +0000 Subject: [PATCH] Documentation for 969b4477730a837f996057e5fbd95639e9b4151c --- d5/d4c/group__sorting.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d5/d4c/group__sorting.html b/d5/d4c/group__sorting.html index e1f0f6764..6bc7951c9 100644 --- a/d5/d4c/group__sorting.html +++ b/d5/d4c/group__sorting.html @@ -405,13 +405,13 @@ Here is the call graph for this function:

The merge() function is used for merging two halves. The merge(arr, l, m, r) is key process that assumes that arr[l..m] and arr[m+1..r] are sorted and merges the two sorted sub-arrays into one.

Parameters
- +
arr- array with two halves arr[l...m] and arr[m+1...l]
arr- array with two halves arr[l...m] and arr[m+1...r]
l- left index or start index of first half array
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)

Parameters
r- end index or right index of second half array