From f9397333d52d416743b2d7101b97ec86569bb0db Mon Sep 17 00:00:00 2001 From: Mirza Nihal Baig <53098259+nihalbaig0@users.noreply.github.com> Date: Wed, 15 Sep 2021 12:53:47 +0600 Subject: [PATCH] deleted redundant code --- .../Divide and Conquer/BinarySearchUsingRecursion.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/DSA Essentials Solutions/Divide and Conquer/BinarySearchUsingRecursion.cpp b/DSA Essentials Solutions/Divide and Conquer/BinarySearchUsingRecursion.cpp index ddc5b59..9ad0e87 100644 --- a/DSA Essentials Solutions/Divide and Conquer/BinarySearchUsingRecursion.cpp +++ b/DSA Essentials Solutions/Divide and Conquer/BinarySearchUsingRecursion.cpp @@ -3,9 +3,7 @@ #include using namespace std; -#include -using namespace std; - + // A recursive binary search function. It returns // location of x in given array arr[l..r] is present, // otherwise -1 @@ -41,4 +39,4 @@ int binarySearch(vector v, int x) int n = v.size(); int result = binary(v, 0, n - 1, x); return result; -} \ No newline at end of file +}