OpenGenus / cosmos

World's largest Contributor driven code dataset | Used in Quark Search Engine, @OpenGenus IQ, OpenGenus Visual Project
http://internship.opengenus.org
GNU General Public License v3.0
13.52k stars 3.66k forks source link

add solution to (Sqrt(x)) problem on leetCode with c++ #6761

Closed TheNourhan closed 7 months ago

TheNourhan commented 8 months ago

Fixes issue:

Changes:

add new binary search algorithm solution of ( Sqrt(x) ) problem on leetCode with c++ in O(logn) time complexity

link: https://leetcode.com/problems/sqrtx/

TheNourhan commented 8 months ago

please put on (hacktoberfest) tag