Home > database >  Can objects can be represented in Python BST
Can objects can be represented in Python BST

Time:11-25

I have list of objects . Each Objects contains attributes like name, price .Can I represent it in Binary Search Tree If it is can you guide me how to do it . I am pretty new to this

CodePudding user response:

why not? But u need to define unique key/value (like id) for each element

  • Related