Not able to build tree


unable to print/build tree

  1. you have to add this condition
    if(s==e){i++; return root;}
  2. in main()
    int n=sizeof(n)/sizeof(int); this is wrong
    correct one
    int n=sizeof(ino)/sizeof(int);

if you have more doubts regarding this feel free to ask
i hope this helps
if yes hit a like and don’t forgot to mark doubt as resolved :grinning: