일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 반복문
- Object Oriented Programming
- 문자열
- baekjoon
- 오블완
- Deep Learning
- 알고리즘
- predictive analysis
- C++
- const
- 파이썬
- function
- OOP
- Class
- programming
- 티스토리챌린지
- Pre-processing
- raw data
- vscode
- string
- array
- 함수
- 배열
- assignment operator
- pointer
- 백준
- 포인터
- Data Science
- pass by reference
- Python
- 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 |