binary search algorithm
![[A100C_day 1] Leetcode 704. Binary Search (java)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FdcYj77%2FbtsDKbiRW9u%2Fcs8mXsCB0C8kUZYZtScYTk%2Fimg.png)
[A100C_day 1] Leetcode 704. Binary Search (java)
문제 링크 https://leetcode.com/problems/binary-search/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 분석 1. 먼저 주어진 nums는 sorted array -> 이제 기본적으로 Binary Search가 가장 먼저 떠올라야 한다. 2. 1