티스토리 뷰
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 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- HTTP message
- JSON
- 스택
- 커리어스타터캠프
- 메모리 구조
- HTTP Methods
- 코딩
- multipart/form-data
- copy on write
- OSI
- URLComponents
- ssh-agent
- URLQueryItem
- TCP
- ssh-configure
- SWIFT
- SSH
- Github
- Cow
- 부트캠프
- Endpoint
- 참조 타입
- URL
- 네트워크
- 앱개발
- 야곰아카데미
- 어플
- 값 타입
- ssh-add
- IOS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함