From c37d57c8c363ab83674f476917970c1f8262180d Mon Sep 17 00:00:00 2001 From: Prakhar Gupta <68066359+prakhar1032@users.noreply.github.com> Date: Sat, 15 Oct 2022 10:46:04 +0530 Subject: [PATCH] Create Bitonic_Point.cpp --- C++/Bitonic_Point.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 C++/Bitonic_Point.cpp diff --git a/C++/Bitonic_Point.cpp b/C++/Bitonic_Point.cpp new file mode 100644 index 0000000..3abe395 --- /dev/null +++ b/C++/Bitonic_Point.cpp @@ -0,0 +1,8 @@ +class Solution{ +public: + + int findMaximum(int arr[], int n) { + sort(arr,arr+n); + return arr[n-1]; + } +};