| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- string
- 알고리즘
- baekjoon
- pass by reference
- 백준
- function
- Data Science
- const
- 파이썬
- 배열
- 티스토리챌린지
- assignment operator
- predictive analysis
- raw data
- Pre-processing
- vscode
- Class
- 오블완
- Deep Learning
- 문자열
- programming
- 반복문
- array
- Python
- 포인터
- pointer
- OOP
- 함수
- Object Oriented Programming
- C++
- Today
- Total
목록2025/04 (25)
Channi Studies
A binary search tree can be implemented in Python using a Node class and a BinarySearchTree class. The Node class contains a key value and data members for the left and right children nodes. The BinarySearchTree class contains a data member for the tree's root (a Node object).class Node: def __init__(self, key): self.key = key self.left = None self.right = Noneclass Binar..
Parent PointersA BST implementation often includes a parent pointer inside each node. A balnaced BST, such as an AVL tree or red-black tree, may utilize the parent pointer to traverse up the tree from a particular node to find a node's parent, grandparent, or siblings. Balanced Binary Tree - GeeksforGeeksYour All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that..
We are going to learn about using the logical operators, AND, OR, and NOT. We can combine more than one conditions with those operators. Let's start from the previously built employees table. I want to add a job column into the table. ALTER TABLE employeesADD COLUMN job VARCHAR(25) AFTER hourly_pay;SELECT * FROM employees; I will assign positions to each employee. UPDATE employeesSET job = "..
Binary Search Tree Inorder TravsersalA tree traversal algorithm visits all nodes in the tree once and performs an operation on each node. An inoreder traversal visits all nodes in a BST from smallest to largest, which is useful for example to print the tree's nodes in sorted order.Starting from the root, the algorithm recursively prints the left subtree, the current node, and the right subtree. ..