Generate a binary tree using database

Manish Goyal

Manish Goyal

@manish-r2Hoep Oct 21, 2024
This question was asked during my last interview ,i was unable to answer this

Ok you have to create a database schema where you have to store a binary tree

and then you have to write 3 queries through which you have to traverse data in

preorder, inorder ,postorder

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform