Skip to content

Msavale/Binary_Search

Repository files navigation

"# Binary_Search"

while (low <= high) { int mid = low + (high - low) / 2;

if (array[mid] == x)
  return mid;

if (array[mid] < x)
  low = mid + 1;

else
  high = mid - 1;

}

return -1; }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published