Search Algorithms (Binary Search/ Linear Search)

2022. 1. 19. 16:18·data structure

Algorithms: Search, Sort, ….

Linear Search
- check from index 0
- linear time complexity: as input size grows, running time also increase in a linear way

Binary Search
- only works on sorted array
- sorted array: items on an array are sorted. adding items on a sorted array takes more time than one that is not
- searching process starts from the middle of the array

'data structure' 카테고리의 다른 글

Sort  (0) 2022.01.19
Type of Time Complexity (Big O notation)  (0) 2022.01.19
Array  (0) 2022.01.19
'data structure' 카테고리의 다른 글
  • Sort
  • Type of Time Complexity (Big O notation)
  • Array
summercat
summercat
세젤귀 또킨이 집사 블로그
  • summercat
    여름고양이
    summercat
  • 전체
    오늘
    어제
    • 분류 전체보기 (28)
      • Swift-iOS (4)
        • iOS (1)
        • Swift (2)
      • 네트워크 (1)
      • data structure (4)
      • Git (6)
      • Java (13)
        • project lion JSB the origin (10)
        • ByteDegree (3)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    Github
    Cow
    deeplink
    copy on write
    JSON
    딥링크
    메모리 구조
    참조 타입
    universal link
    유니버셜링크
    IOS
    값 타입
    커리어스타터캠프
    URLComponents
    어플
    야곰아카데미
    TCP
    SWIFT
    네트워크
    HTTP Methods
    ssh-agent
    URLQueryItem
    multipart/form-data
    OSI
    Endpoint
    HTTP message
    부트캠프
    앱개발
    ssh-configure
    ssh-add
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.1
summercat
Search Algorithms (Binary Search/ Linear Search)
상단으로

티스토리툴바