simplest way to find preorder given inorder and postorder | construct binary tree

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • This video explains given inorder and postorder of a binary tree, how to find preorder and even how to contruct a binary tree from given information. This makes use of recursive method and the CODE LINK is given below. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
    CODE LINK: drive.google.c...

ความคิดเห็น • 34

  • @klausvillasurda9984
    @klausvillasurda9984 3 หลายเดือนก่อน

    You're better than my teacher that explained it for hours it saved me a lot of time thanks.

  • @yashasviyaduvanshi5535
    @yashasviyaduvanshi5535 2 ปีที่แล้ว +8

    You made it so easy to understand. Thanks Sir.

  • @akanshapanchal7107
    @akanshapanchal7107 3 ปีที่แล้ว +6

    Worth watching:) Thanks!!

  • @sibasishbaliarsingh4011
    @sibasishbaliarsingh4011 3 ปีที่แล้ว +3

    Thank you sir..... You made it so easy.....

  • @v.p.k4882
    @v.p.k4882 6 หลายเดือนก่อน

    Thank you for your clear explanation, sir

  • @muhammed__5
    @muhammed__5 4 หลายเดือนก่อน

    Life saver!

  • @dhwaniagrawal3439
    @dhwaniagrawal3439 10 หลายเดือนก่อน

    Nice explanation 💫💯

  • @bundayyolayinka3352
    @bundayyolayinka3352 4 ปีที่แล้ว +1

    helped in my interview

  • @md_aaqil8027
    @md_aaqil8027 4 ปีที่แล้ว +2

    good explanation

  • @baherzain745
    @baherzain745 2 ปีที่แล้ว

    Nice explanation

  • @anjaliprajapati7298
    @anjaliprajapati7298 4 ปีที่แล้ว +1

    Very nice trick

  • @IdrisNirah
    @IdrisNirah 2 หลายเดือนก่อน

    Thanks

    • @techdose4u
      @techdose4u  2 หลายเดือนก่อน

      welcome

  • @JohnnFritzzz-fp9xk
    @JohnnFritzzz-fp9xk ปีที่แล้ว

    God brought me here to easily understand this topic! Thankyou Brother.

  • @okeyD90232
    @okeyD90232 2 ปีที่แล้ว +1

    You explanation and code provided in the description says different stories. Can you please add a explanation for your code as well?

  • @jasonli1060
    @jasonli1060 3 ปีที่แล้ว +1

    big brain

  • @nitiny3430
    @nitiny3430 4 ปีที่แล้ว +2

    you have said in the tittle that there is code with this trick ...where is the code .....????

    • @techdose4u
      @techdose4u  4 ปีที่แล้ว

      Please check the link in description below.

  • @manthanpatel2024
    @manthanpatel2024 ปีที่แล้ว

    thankyoo

  • @hirako9326
    @hirako9326 ปีที่แล้ว +1

    this tree is too basic, could you please give an example for a more complex tree?

  • @Raj-ql2vz
    @Raj-ql2vz 3 ปีที่แล้ว +1

    Sir how to find preorder only from given inorder.

    • @techdose4u
      @techdose4u  3 ปีที่แล้ว

      Can di find it ? I don't think so (unless we are given some more info about the tree).

    • @Raj-ql2vz
      @Raj-ql2vz 3 ปีที่แล้ว

      @@techdose4u they asked liked when inorder traversing a tree result is E A C K F H D B G.
      Then preorder would return ??
      A) F A E k C D B H G
      B) F A E K C D H G B
      C)F E A k D C H B G

  • @shaikmasthanvali993
    @shaikmasthanvali993 4 ปีที่แล้ว

    Please explain code plzzzz

  • @angelsharma7826
    @angelsharma7826 3 ปีที่แล้ว +1

    Not a good way to teach.. Change ur method...

    • @techdose4u
      @techdose4u  3 ปีที่แล้ว

      What should I do?