khanchi97 / Smvdu-Algos

Can learn how to contribute to an open source project and practise Algorithm and Data Structures
Other
13 stars 54 forks source link

Created exponential_search.c #161

Closed sidntrivedi012 closed 6 years ago

sidntrivedi012 commented 6 years ago

Ok Sir. Will it not increase the time complexity of algorithm?

On 24 Dec 2017 10:12 a.m., "Shubham Goyal" notifications@github.com wrote:

@22shubh22 requested changes on this pull request.

Sort array before searching.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/khanchi97/Smvdu-Algos/pull/161#pullrequestreview-85433689, or mute the thread https://github.com/notifications/unsubscribe-auth/AdvcXRDKPe0tvNLRV6Yt6YDaPgY02jYvks5tDdYbgaJpZM4RLpHJ .

22shubh22 commented 6 years ago

It will. But this search cannot take place without a sorted array.

sidntrivedi012 commented 6 years ago

Okay Sir.Making changes.

sidntrivedi012 commented 6 years ago

I am closing this PR and will make a new PR with the asked changes.