Repository navigation
이진탐색
#17
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
이진 탐색은 정렬된 배열에서 특정 값을 찾는 효율적인 알고리즘입니다.
예시 문제
예) [1, 3, 5, 7, 9]에서 5의 인덱스를 찾는 것
예시 코드
예) [1, 2, 2, 2, 3, 4]에서 가장 왼쪽의 2의 인덱스를 찾는 것
예시 코드
예) [4, 5, 6, 1, 2, 3]에서 rotate된 위치 1의 인덱스를 찾는것
예시 코드
All reactions