일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Class
- pointer
- 문자열
- programming
- Pre-processing
- Deep Learning
- array
- 알고리즘
- 포인터
- C++
- 파이썬
- 오블완
- raw data
- assignment operator
- 함수
- Object Oriented Programming
- const
- 반복문
- OOP
- baekjoon
- Python
- 티스토리챌린지
- 백준
- function
- pass by reference
- 배열
- Data Science
- string
- predictive analysis
- vscode
- Today
- Total
Channi Studies
[Algorithm] Constant Time Operation 본문
[Algorithm] Constant Time Operation
Chan Lee 2025. 3. 12. 08:16In practice, designing an efficient algorithm aims to lower the amount of time that an algorithm runs. However, a single algorithm can always execute more quickly on a faster processor.
Therefore, the theoretical analysis of an algorithm describes runtime in terms of number of constant time operations, not nanoseconds.
A constant time operation is an operation that, for a given processor, always operates in the same amount of time, regardless of input values.
At first, it might be confusing what are the operations that are always operating in the constant amount of time.
These are some common constant time operations:

한문장 정리: 소프트웨어 처리 속도를 통한 하드웨어 성능의 이론적 분석에는 하드웨어 성능에 영향을 받지 않는 constant time operation 의 측면에서 묘사된다.
'Data Science > Data Structure & Algorithm' 카테고리의 다른 글
[Algorithm] Big-O Notation | 빅 오 표기법 (0) | 2025.03.12 |
---|---|
[Algorithm] Growth of Functions and Complexity (0) | 2025.03.12 |
[Algorithm] Searching: Linear Search & Binary Search (0) | 2025.03.12 |
[Data Structure] Arrays & Linked Lists (0) | 2025.03.10 |
Basic Data Structures (0) | 2025.03.05 |