Raksha1906 / DS-Algo

Repository For beginners for Hacktoberfest 2020 and 2021
4 stars 70 forks source link

Added a CPP Program #30

Closed yashmita closed 3 years ago

yashmita commented 3 years ago

A CPP program to find the minimum element from a rotated sorted array. For example, {0,1,2,3,4,5,6} might become {4,5,6,0,1,2,3} after rotating from a pivot index unknown to us. We need to find the minimum element from the latter array using O(log n) approach.

Raksha1906 commented 3 years ago

@all-contributors please add @yashmita for code

allcontributors[bot] commented 3 years ago

@Raksha1906

I've put up a pull request to add @yashmita! :tada: