Skip to content Skip to sidebar Skip to footer
Showing posts with the label Binary Search Tree

How To Return Value From Recursive Function In Python?

I'm working with binary tree in python. I need to create a method which searches the tree and r… Read more How To Return Value From Recursive Function In Python?

Built-in Binary Search Tree In Python?

Are there any self-balancing binary search tree (RED-BLACK, AVL or others) built-in types in Python… Read more Built-in Binary Search Tree In Python?

Mirror Binary Search Tree

This is a code that given a root of the binary search tree, is to create its mirror. def mirror(roo… Read more Mirror Binary Search Tree