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

Maximum BST.isSubtreeBST bug #53

Closed zrwusa closed 8 months ago

zrwusa commented 9 months ago

Describe the bug Using isSubtreeBST on the maximum binary search tree will result in a bug because the comparison rules are only applicable to the minimum binary search tree.

zrwusa commented 8 months ago

This bug has been fixed in version 1.49.6