Skip to content

Commit 602f7b0

Browse files
Add Binary Search Tree (BST) data structure implementation
- Complete BST implementation using R6 object-oriented programming - Support all fundamental operations: insert, search, delete, traversals - Include four traversal methods: inorder, preorder, postorder, level-order - Advanced operations: height calculation, BST validation, kth smallest - Tree visualization with ASCII art representation - Comprehensive examples including student grade management system - Create new Data Structures category for fundamental CS data structures
1 parent 6b0fd3b commit 602f7b0

File tree

2 files changed

+492
-0
lines changed

2 files changed

+492
-0
lines changed

DIRECTORY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
* [K Folds](https://github.com/TheAlgorithms/R/blob/HEAD/data_preprocessing/k_folds.r)
3434
* [Lasso](https://github.com/TheAlgorithms/R/blob/HEAD/data_preprocessing/lasso.r)
3535

36+
## Data Structures
37+
* [Binary Search Tree](https://github.com/TheAlgorithms/R/blob/HEAD/data_structures/binary_search_tree.r)
38+
3639
## Mathematics
3740
* [Amicable Numbers](https://github.com/TheAlgorithms/R/blob/HEAD/mathematics/amicable_numbers.r)
3841
* [Armstrong Number](https://github.com/TheAlgorithms/R/blob/HEAD/mathematics/armstrong_number.r)

0 commit comments

Comments
 (0)