We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
➡️ 리스트 안에 있는 특정한 데이터를 찾기 위해 앞에서부터 데이터를 하나씩 차례대로 확인하는 방법
시간 복잡도
➡️ 탐색 범위를 반으로 좁혀가며 빠르게 탐색하는 알고리즘
이진 탐색은 위치를 나타내는 변수 3개를 사용한다. -> 탐색 범위의 시작점, 끝점, 중간점 찾으려는 데이터와 중간점 위치에 있는 데이터를 반복적으로 비교해서 원하는 데이터를 찾는다.!!!!
시작점, 끝점, 중간점
재귀함수를 사용하는 방법
반복문을 이용하는 방법
The text was updated successfully, but these errors were encountered:
hwangJi-dev
No branches or pull requests
💡 순차탐색
➡️ 리스트 안에 있는 특정한 데이터를 찾기 위해 앞에서부터 데이터를 하나씩 차례대로 확인하는 방법
시간 복잡도
: O(N)💡 이진탐색
➡️ 탐색 범위를 반으로 좁혀가며 빠르게 탐색하는 알고리즘
시간 복잡도
: O(logN)[이진 탐색의 구현 방법]
이진 탐색은 위치를 나타내는 변수 3개를 사용한다.
-> 탐색 범위의
시작점, 끝점, 중간점
찾으려는 데이터와 중간점 위치에 있는 데이터를 반복적으로 비교해서 원하는 데이터를 찾는다.!!!!
재귀함수를 사용하는 방법
반복문을 이용하는 방법
The text was updated successfully, but these errors were encountered: