Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Exponential_Search.cpp #6312

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

visha09
Copy link

@visha09 visha09 commented Oct 28, 2021

Added the program for the Exponential Search in c++

Added the program for the Exponential Search in c++
Copy link
Contributor

@walidbarakat walidbarakat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't use comments to make your code explained, if you think your code isn't self-expressing one, so try to think about how to make it clean.

#include <bits/stdc++.h>
using namespace std;

int binarySearch(int arr[], int, int, int);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Copy link
Member

@AdiChat AdiChat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code for Exponential Search should be in: /code/search/src/exponential_search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants