Skip to content

Fix Binary Search description (Issue #15)Fix incorrect Binary Search explanation in Decrease and Conquer chapter#25

Open
mandakini-tech wants to merge 1 commit intoliyin2015:masterfrom
mandakini-tech:fix-binary-search-description
Open

Fix Binary Search description (Issue #15)Fix incorrect Binary Search explanation in Decrease and Conquer chapter#25
mandakini-tech wants to merge 1 commit intoliyin2015:masterfrom
mandakini-tech:fix-binary-search-description

Conversation

@mandakini-tech
Copy link

Corrected the Binary Search explanation in the Decrease and Conquer chapter.

  • If nums[mid] < target → move right (l = mid + 1)
  • If nums[mid] > target → move left (r = mid - 1)

Resolves #15

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.

Binary Search wrong description

1 participant