zrwusa / data-structure-typed

Javascript Data Structure & TypeScript Data Structure. Heap, Binary Tree, Red Black Tree, Linked List, Deque, Trie, HashMap, Directed Graph, Undirected Graph, Binary Search Tree, AVL Tree, Priority Queue, Graph, Queue, Tree Multiset, Singly Linked List, Doubly Linked List, Max Heap, Max Priority Queue, Min Heap, Min Priority Queue, Stack.
https://data-structure-typed-docs.vercel.app
MIT License
114 stars 8 forks source link

includeNull parameter needs to be removed from traversal methods in specific classes #38

Closed zrwusa closed 8 months ago

zrwusa commented 10 months ago

Describe the solution you'd like In the traversal methods of BST, AVLTree, TreeMultiset, and RedBlackTree, the 'includeNull' parameter needs to be removed because these data structures cannot insert null nodes like BinaryTree.