| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 배열
- Object Oriented Programming
- programming
- Class
- predictive analysis
- const
- Deep Learning
- function
- vscode
- Python
- 오블완
- 함수
- Data Science
- 파이썬
- baekjoon
- array
- 티스토리챌린지
- C++
- assignment operator
- 포인터
- 알고리즘
- 반복문
- raw data
- OOP
- pass by reference
- string
- Pre-processing
- 문자열
- pointer
- 백준
- Today
- Total
목록2025/05/28 (2)
Channi Studies
A topological sort of a directed, acyclic graph produces a list of graph's vertices such that for every edge from a vertex X to a vertex Y, X comes before Y in the list. There can be more than one valid topoligcal sort. Again, the graph must be acyclic and riected in order to apply topological sorting. The time complexity and space complexity of topological sorting is O(|V| + |E|).
The Bellman-Ford shortest path algorithm, created by Richard Bellman and Lester Ford, Jr,. determines the shortest path from a start vertex to each vertex in a graph. For each vertex, the Bellman-Ford algorithm determines the vertex's distance and predecessor pointer. A vertex's distance is the shortest path distance from the start vertex. A vertex's predecessor pointer points to the previous ve..