diff --git a/d3/d40/graph__coloring_8cpp.html b/d3/d40/graph__coloring_8cpp.html
index bc5e41632..bbc1e7f8f 100644
--- a/d3/d40/graph__coloring_8cpp.html
+++ b/d3/d40/graph__coloring_8cpp.html
@@ -296,7 +296,7 @@ Functions
int main()
Definition: text_search.cpp:15
-void show(int *arr, int size)
Definition: merge_sort.cpp:96
+void show(int *arr, int size)
Definition: merge_sort.cpp:84
const std::vector< std::vector< std::string > > test_set
Definition: brute_force_string_searching.cpp:41
int rec_ternary_search(int left, int right, int A[], int target)
Definition: ternary_search.cpp:90
Definition: linkedlist_implentation_usingarray.cpp:14
@@ -318,7 +318,7 @@ Functions
std::vector< int > h_heavychlid
stores the heavy child of a node
Definition: heavy_light_decomposition.cpp:340
FenwickTree(const std::vector< int > &arr)
Definition: fenwick_tree.cpp:28
-void mergeSort(int *arr, int l, int r)
Definition: merge_sort.cpp:83
+void mergeSort(int *arr, int l, int r)
Definition: merge_sort.cpp:71
int main()
Definition: matrix_exponentiation.cpp:126
std::vector< std::list< int > > t_adj
an adjacency list to stores the tree edges
Definition: heavy_light_decomposition.cpp:83
@@ -481,7 +481,7 @@ Functions
void push(char ch)
push byte to stack variable
Definition: paranthesis_matching.cpp:26
int main()
Definition: bogo_sort.cpp:104
static void test_2()
Definition: pigeonhole_sort.cpp:88
-int main()
Definition: merge_sort.cpp:102
+int main()
Definition: merge_sort.cpp:90
char pop()
pop a byte out of stack variable
Definition: paranthesis_matching.cpp:29
int InterpolationSearch(int A[], int n, int x)
Definition: interpolation_search2.cpp:15
Functions for Horspool's algorithm.
diff --git a/d5/d4c/group__sorting.html b/d5/d4c/group__sorting.html
index f6bb8af6d..4563a8c3d 100644
--- a/d5/d4c/group__sorting.html
+++ b/d5/d4c/group__sorting.html
@@ -195,21 +195,21 @@ template<typename T >
Main function
-
-
-
104 std::cout <<
"Enter the number of elements : ";
-
-
106 int *arr =
new int[size];
-
107 std::cout <<
"Enter the unsorted elements : ";
-
108 for (
int i = 0; i < size; ++i) {
-
-
-
-
-
-
-
-
+
+
+
92 std::cout <<
"Enter the number of elements : ";
+
+
94 int *arr =
new int[size];
+
95 std::cout <<
"Enter the unsorted elements : ";
+
96 for (
int i = 0; i < size; ++i) {
+
+
+
+
+
+
+
+
@@ -279,8 +279,8 @@ template<typename T >
- 46 while (i < n1 && j < n2) {
-
+ 46 while (i < n1 || j < n2) {
+ 47 if (j >= n2 || (i < n1 && L[i] <= R[j])) {
@@ -290,21 +290,9 @@ template<typename T >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
@@ -348,14 +336,14 @@ template<typename T >
-
-
-
85 int m = l + (r - l) / 2;
-
-
-
-
-
+
+
+
73 int m = l + (r - l) / 2;
+
+
+
+
+
@@ -391,17 +379,17 @@ Here is the call graph for this function:
Utility function used to print the array after sorting
-
-
97 for (
int i = 0; i < size; i++)
std::cout << arr[i] <<
" ";
-
-
+
+
85 for (
int i = 0; i < size; i++)
std::cout << arr[i] <<
" ";
+
+
-void show(int *arr, int size)
Definition: merge_sort.cpp:96
-void mergeSort(int *arr, int l, int r)
Definition: merge_sort.cpp:83
+void show(int *arr, int size)
Definition: merge_sort.cpp:84
+void mergeSort(int *arr, int l, int r)
Definition: merge_sort.cpp:71
void merge(int *arr, int l, int m, int r)
Definition: merge_sort.cpp:33
diff --git a/d5/d88/md__d_i_r_e_c_t_o_r_y.html b/d5/d88/md__d_i_r_e_c_t_o_r_y.html
index 150d01d73..28d1cc1a7 100644
--- a/d5/d88/md__d_i_r_e_c_t_o_r_y.html
+++ b/d5/d88/md__d_i_r_e_c_t_o_r_y.html
@@ -164,6 +164,7 @@ Dynamic Programming
Fibonacci Bottom Up
Floyd Warshall
Kadane
+Kadane2
Longest Common String
Longest Common Subsequence
Longest Increasing Subsequence
diff --git a/de/d7b/merge__insertion__sort_8cpp.html b/de/d7b/merge__insertion__sort_8cpp.html
index 91f4ead63..a0cc089c4 100644
--- a/de/d7b/merge__insertion__sort_8cpp.html
+++ b/de/d7b/merge__insertion__sort_8cpp.html
@@ -503,7 +503,7 @@ Here is the call graph for this function:
-void mergeSort(int *arr, int l, int r)
Definition: merge_sort.cpp:83
+void mergeSort(int *arr, int l, int r)
Definition: merge_sort.cpp:71
void merge(int *arr, int l, int m, int r)
Definition: merge_sort.cpp:33