-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# 이진탐색, 이분탐색 (Binary Search) | ||
- 이진 탐색은 데이터가 정렬되어 있는 배열에서 특정한 값을 찾아내는 알고리즘 | ||
- 배열의 중간 값을 이용해 찾고자하는 값 x와 비교함 | ||
- x가 중간 값보다 작으면 중간 값을 기준으로 좌측의 데이터를 대상으로, | ||
- x가 중간 값보다 크면 중간 값을 기준으로 우측의 배열을 대상으로 다시 탐색함 | ||
- 해당 값을 찾을 때까지 이 과정을 반복 | ||
|