| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- baekjoon
- 오블완
- C++
- 포인터
- 티스토리챌린지
- Class
- 파이썬
- programming
- vscode
- string
- Data Science
- array
- OOP
- const
- 배열
- 함수
- pointer
- function
- raw data
- Pre-processing
- assignment operator
- predictive analysis
- 문자열
- 백준
- 알고리즘
- pass by reference
- Deep Learning
- Python
- 반복문
- Today
- Total
목록Data Science/Data Structure & Algorithm (58)
Channi Studies
SearchGiven a key, a search algorithm returns the first node found matching that key, or returns null if a matching node is not found. A simple BST search algorithm checks the current node (initially the tree's root node), returning that node as a match, else assigning the current node with the left (if key is less) or right (if key is greater) child and repeating. If such a child is null, the a..
Binary Search TreesAn especially useful form of binary tree is a binary serach tree (BST). BST has an ordering property that any node's left subtree keys ≤ the node's key and the right subtree's keys ≥ the node's key. This property enables fast searching for an item. Searching To search nodes means to find a node with a desired key, if such a node exists. A BST may yield faster searches than a..
File SystemsTrees are commonly used to represent hierarchical data. A tree represent files and directories in a file system, since a file system is a hierarchy. A file in a file system tree is alwyas a leaf node. A directory in a file system tree can be both leaf node or internal node. Unlike binary trees that have a fixed number of children per node (0-2), a file system tree must support a vari..
Binary Tree In a list, each node has up to one successor. In a binary tree, each node has up to two children, known as a left child and a right child. "Binary" means two, referring to the two children. Some more definitions related to a binary tree:Leaf: A tree node with no children.Internal node: A node with at least one child.Parent: A node with a child is said to be that child's parent. A nod..