이진 탐색 ( Binary Search ) 이란? 정렬된 배열에서 특정 값을 찾을 때 사용할 수 있는 알고리즘. 처음 중간의 값을 임의의 값으로 선택하여, 그 값과 찾고자 하는 값의 크고 작음을 비교하는 방식. 처음 선택한 중앙값이 만약 찾는 값보다 크면 그 값은
Description Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it
You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality c