| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 포인터
- 반복문
- OOP
- pass by reference
- const
- raw data
- vscode
- 파이썬
- 알고리즘
- 문자열
- assignment operator
- Data Science
- 오블완
- 배열
- Object Oriented Programming
- C++
- array
- baekjoon
- Python
- programming
- Deep Learning
- Pre-processing
- function
- Class
- 함수
- string
- predictive analysis
- pointer
- 티스토리챌린지
- 백준
- Today
- Total
목록Data Science/Data Structure & Algorithm (58)
Channi Studies
Breadth-First SearchAn algorithm commonlyu must visit every vertex in a graph in some order, known as a graph traversal.A breadth-first search (BFS) is a traversal that visits a starting vertex, then all vertices of distance 1 from that vertex, then of distance 2, and so on, without revisiting a vertex. Since the visiting order of same-distance vertices doesn't matter, there can be multiple gra..
GraphsA graph is a data structure for representing connections among items, and consists of vertices connected by edges.- A vertex (or node) represents an item in a graph.- An edge represents a connection between two vertices in a graph. In a graph, - Two vertices are adjacent if connected by an edge.- A path is a sequence of edges leading form a source vertex to a destination vertex. The path..
Implementing a Set with a BSTA set can be implemented in Python using a Binary Search Table (BST) to store set elements. In practice, a balanced BST or hash table is often used to efficiently implement a set, but a BST will suffice for all necessary set opeartions. Each node's data stores a set element. References to left child, right child, and parent nodes are also included. External functiona..
Union, Intersection, and DifferenceIf you are familiar with set notations from your math course, than you would know all these already. The union of sets X and Y, denoted as X ∪ Y, is a set that contains every element from X, every element from Y, and no duplicates. The intersection of sets X and Y, denoted as X ∩ Y, is a set that contains every element that is in both X and Y, no duplicates. Th..