For GRAPH and TREE ??
Geeks Quiz
Is it possible if yes can someone share the code in C?
Yes they are useful but most languages already have inbuilt implementation(s) of Balanced BST.(set and map in C++). Some problems may require you to argument a BST in which the inbuilt implementation may not work but these are very rare.