Skip to content · ⁨본문 바로가기⁩
English

Searching a list

  • Searching means finding whether a value is in a list, and where.
  • The usual answer is the index of the value, or -1 if it is missing.
  • Two classic methods are linear search and binary search.
한국어

목록 검색

  • 검색이란 특정 값이 목록에 존재하는지, 그리고 그 위치를 확인하는 것입니다.
  • 일반적인 답은 해당 값의 인덱스이며, 존재하지 않을 경우 -1입니다.
  • 두 가지 고전적인 방법은 선형 검색과 이진 검색입니다.

Handout · ⁨교재 자료⁩

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP