Lec-55: Find Preorder, Postorder & Inorder of Binary Search Tree(BST) in Data Structure

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 185

  • @sahilsharma7013
    @sahilsharma7013 6 років тому +117

    It was most confusing question to me but today u provided cheat code to solve it. Sir u r truly genius

    • @poojapoojadhapte1430
      @poojapoojadhapte1430 Рік тому +1

      Beatiful sir tommorrow i having exams so beautiful

    • @samosaaa
      @samosaaa Місяць тому

      @@poojapoojadhapte1430 multiverse of beauty

  • @sandeep-shaw
    @sandeep-shaw 4 роки тому +15

    Made my concept fully crystal clear
    Thanks a lot

  • @viplovekadre5578
    @viplovekadre5578 6 років тому +1

    Aap bhut acche se aur sukoon se pdate hai sir ji , jab tak apki ek video na dekh le din nahi nikalta , thanks for the good work . I am a big fan of your teaching .

  • @amanshitta
    @amanshitta 4 роки тому +15

    Sir, If we design a BST directly using the preorder
    like the first element is 30 so the next element will be placed according to the BST property and so on...
    then the post order can be derived using the tree , So why did we need in-order of the tree?
    because using the pre-order seq. we get to know what is the root element and also the tree itself is a BST so the next elements will be placed according to the property only

  • @hitakshigupta7193
    @hitakshigupta7193 3 роки тому +9

    Okay so let me tell you... You have always been an angel for my engineering final exam to vigorous competitive prepration ❤️

  • @Harpreet-e3d
    @Harpreet-e3d Рік тому +3

    😊😊😊😊Thanku so much sirrrrr❤❤❤❤❤

  • @manishyadav7586
    @manishyadav7586 4 роки тому +1

    Thanku so much sir ji ..aap sach me great ho..saare concept topic sab clear ho rahe ab 🙏🙏🙏🙏

  • @himanshurana5880
    @himanshurana5880 3 роки тому

    mere sir se jyada aap jante ho... thank you trick ke liye...🙏🏻 tution wale sir bol te hai practice karo practice se hoga....aap ne trick bata ke bohot help kar di...

  • @sanazamir291
    @sanazamir291 4 роки тому +3

    Great work u have done.. Thanku and stay blessed

  • @shubhamshende626
    @shubhamshende626 5 років тому +12

    BST+Preoder given just insert elements in tree as per BST property.

  • @riyasathsulthanashaik
    @riyasathsulthanashaik Рік тому +1

    Your teaching levels are really amazing sir.🤩

  • @akshaychougule7170
    @akshaychougule7170 5 років тому +2

    Thank you sirji. ... You are best teacher in the world..

  • @dechuzzyumcity....8300
    @dechuzzyumcity....8300 4 роки тому +1

    Big thanks from Kerala..u r great sir...

  • @vandanasahu1154
    @vandanasahu1154 2 роки тому +23

    Sir please make a complete playlist on data structure....it would be of great help

  • @PiyushSharma-hn2eu
    @PiyushSharma-hn2eu 5 днів тому

    Best teacher ❤ sb clear hogya ppr se ek raat phele 2025 m dekh rha hu apki video

  • @muhammadhamzamaqsood8576
    @muhammadhamzamaqsood8576 2 роки тому +1

    That is very concise and complete. Thank you!

  • @BATOOL_KHAN123
    @BATOOL_KHAN123 11 місяців тому +1

    Outstanding job 👏❤ really appreciate ❤

  • @shwetalitalele9150
    @shwetalitalele9150 6 років тому +12

    Yr seriously....mindblowing ho sir app.....🙃💃💃

  • @nilanjandutta_
    @nilanjandutta_ 4 роки тому

    G O D ur tricks were soo good watched all ur videos before exam day ........

  • @vishalsaxen
    @vishalsaxen Рік тому

    I really appreciate your skills and presenting skills

  • @naseeblashari2939
    @naseeblashari2939 3 роки тому

    bundle of thanks sir for your such easy and intersting way of teaching

  • @bilal8286
    @bilal8286 Рік тому

    Bhai sach m awesome work kr re ho ..hmesha khush rho..love from Pakistan❤

  • @Nehasutharstatus
    @Nehasutharstatus 3 роки тому

    Apki technique bhot. Hi easy muje ab agaya easily me thank you sir 🙏🙏😊😊

  • @prathamvyas6640
    @prathamvyas6640 3 роки тому +1

    Bro great work. You easily teach this hard topic ,thank you.

  • @rounak3239
    @rounak3239 6 років тому +1

    Gurujee shandhar jabardast zindabad

  • @Bdlover-24
    @Bdlover-24 3 роки тому

    Thank you brother 😍😍😍 love for you from Bangladesh

  • @sajansekhu8785
    @sajansekhu8785 4 роки тому +1

    Superbbbbbbbb.......Waheguru always bless u.....🙏🙏🙏🙏🙏.......⭐⭐⭐⭐⭐

  • @hafsanisar2453
    @hafsanisar2453 4 роки тому

    Good explanation... Excellent lecture.. Jaza kallah

  • @Sangeet372
    @Sangeet372 3 роки тому

    Your shortcut method are amazing sir 👍👍👍👍👍👍👌👌👌

  • @amityerpude9408
    @amityerpude9408 6 років тому +2

    Jabardast sirji...

  • @panktuleaudu2201
    @panktuleaudu2201 7 місяців тому

    Thanks for this clear explanation sir!

  • @biyankaacharjee5932
    @biyankaacharjee5932 Рік тому

    Thank you so much sir ❤️
    You are best teacher 💞

  • @tasneempoonawala2701
    @tasneempoonawala2701 9 місяців тому

    Maths me mujhe bohot help milti hai thank u sir😊

  • @oanunamdev3505
    @oanunamdev3505 5 місяців тому +1

    Thank you so much 😊 sir

  • @ajaygenius4644
    @ajaygenius4644 3 роки тому +1

    Uncomparable explanations sirji🙏

  • @sadaffnazz725
    @sadaffnazz725 4 роки тому +1

    thasnks alot sir.outstanding lecture

  • @krishanudutta2943
    @krishanudutta2943 3 роки тому

    Awesome sir thanks a lot... Happy teacher's day sir God bless you😊❤️

  • @gauravgangwar317
    @gauravgangwar317 3 роки тому

    thank you sir your videos is more helpful to us thank you......

  • @Ali_saif_98
    @Ali_saif_98 4 роки тому

    Maine bht video dekhi...pr smjh ni aaya kuch bhi...finally yha pr im satisfy...thnku guru ji

  • @anusha400
    @anusha400 3 роки тому

    Very gud teaching sir...Thank you sm😊

  • @conceptualstudy7196
    @conceptualstudy7196 4 місяці тому

    Congratulations for 2m subscribers ❤🎉

  • @studyforcomputerscienceand4515
    @studyforcomputerscienceand4515 4 роки тому

    Mind blowing sir 👍 maza aa gaya sir thanks

  • @stutikandpal480
    @stutikandpal480 4 роки тому +4

    Sir, I think there is a simpler method. The preorder traversal is given and also it is given that it is a BST, so we can simple create a BST using the keys, and write its postorder. That we will not have to take care of inorder and preorder simultaneously. we need to do this kind of solution only when it's not mentioned that it is a BST. Please let me know if I am wrong. Thank you.

  • @taleemmurtaza5041
    @taleemmurtaza5041 3 роки тому

    Sir really you are great amazing trick for find the post order with the hlp of ino and preo😍

  • @preetiyadav8140
    @preetiyadav8140 4 роки тому +8

    Hey sir! Thanks to give us excellent lecture 😊 .
    Here I need your suggestion is there any particular book to prepare for NIELIT scientific Assistant exam ?
    Reply Please 🙏

  • @manishadeepak2666
    @manishadeepak2666 2 роки тому

    Sir u r truly genius 👍thank u sir🙏🌹🌹

  • @Thecreative734
    @Thecreative734 11 місяців тому

    Nice explanation sir ❤

  • @MdAbdullaGaur
    @MdAbdullaGaur 4 роки тому

    That's great explaining sir 👌👌👌! ❣️

  • @Reflexes01
    @Reflexes01 9 місяців тому

    You are the best 😁❤️

  • @suryapratapsinghumath7156
    @suryapratapsinghumath7156 3 роки тому

    Awesome teaching skill sir

  • @jamilahmed-z8r
    @jamilahmed-z8r Рік тому

    Thank you clear this concept

  • @dwrbidaimari5345
    @dwrbidaimari5345 2 роки тому

    Thank you Sir, for your help.

  • @soumi6720
    @soumi6720 2 роки тому

    Amazing explanation

  • @mpanghal9801
    @mpanghal9801 3 роки тому

    What an amazing trick😀

  • @juhishivhare2571
    @juhishivhare2571 6 років тому +1

    Awesome way of teaching ..😊

  • @salmaKhanum123
    @salmaKhanum123 2 роки тому

    Really helpful thank you sir

  • @vijaykumar-tg2tc
    @vijaykumar-tg2tc 2 роки тому

    Solid explaination Sir

  • @vipulrawat9844
    @vipulrawat9844 Рік тому

    amazing explanation

  • @monikashahane5519
    @monikashahane5519 2 роки тому

    sir excellent lecture and very useful

  • @shubhampatel7241
    @shubhampatel7241 3 роки тому +1

    Thanks u sir you are great sir

  • @premanjalsharma9878
    @premanjalsharma9878 3 дні тому

    Hare Krishna 🧡🩷
    Thanks bhaiya

  • @PodFlicks13
    @PodFlicks13 Місяць тому

    thank you 🙏🏻 sirji ❤

  • @nehashende4790
    @nehashende4790 3 роки тому +1

    Liked, shared, subscribd

  • @divyajain2733
    @divyajain2733 6 років тому +1

    Thank you sir✌👍

  • @kahanimishra9153
    @kahanimishra9153 9 місяців тому

    Thank you sir🎉

  • @syedsadiqali892
    @syedsadiqali892 6 років тому

    Maza agya bhai.. luv u

  • @pratik8332
    @pratik8332 4 роки тому +1

    Thank you very much sir

  • @armysongsbyadjarmy3511
    @armysongsbyadjarmy3511 3 роки тому

    Sir very very thanks 💓💓

  • @honey.g791
    @honey.g791 4 роки тому

    VVGood explanation sir

  • @Aishwarya1405-w9m
    @Aishwarya1405-w9m 6 років тому +1

    Thank you sir😊

  • @leenagardia2425
    @leenagardia2425 5 років тому

    Good explanation... thanks

  • @kashifmeer2304
    @kashifmeer2304 5 місяців тому

    Fun fact :- You can go to next content area by position your 1finger in middle and 2nd finger in skipping place and touch 2 times

  • @priyanshsinha8593
    @priyanshsinha8593 3 роки тому +5

    Sir if the inorder and post order traversal are defined than how will we determine the pre-order of the BST? Please comment and reply and solve my doubt.

    • @ghulammurtazagmdahar
      @ghulammurtazagmdahar 2 роки тому

      First, using in order and post order draw BST.
      Second, find pre-order by traversing.

  • @dipaleescreativerangoli6800
    @dipaleescreativerangoli6800 4 роки тому

    you are great sir👍

  • @samsunglab7593
    @samsunglab7593 2 роки тому +1

    great sir

  • @sejalvinodwasule8868
    @sejalvinodwasule8868 2 роки тому +20

    🤕😵🤯its still lil confusing

  • @SaurabhYadav-zn3qt
    @SaurabhYadav-zn3qt 3 роки тому

    Jodddddd..🔥🔥

  • @pratik8332
    @pratik8332 4 роки тому +1

    Thank you^infinite

  • @AmitKumar-te6hy
    @AmitKumar-te6hy Рік тому

    Sir now I am able to find order and also construct tree after watching your video.
    Can we find out order (in order) if (preorder and post order given to us)?

  • @meghabisht3225
    @meghabisht3225 3 роки тому

    Best 💥

  • @simranpandey6534
    @simranpandey6534 4 роки тому

    Thankyou sir..🙂

  • @soumambanerjee1816
    @soumambanerjee1816 6 років тому +2

    Link state routing.. Pe sawal banayiye...

  • @ravi12492
    @ravi12492 3 роки тому

    Amazing

  • @amrhosni7175
    @amrhosni7175 2 роки тому

    I've learned from Indian people more than my colleague that I'm paying for 🇮🇳

  • @harshavardhankanoj6021
    @harshavardhankanoj6021 3 роки тому

    Thank you 😊

  • @FaizaMahar-jq6iw
    @FaizaMahar-jq6iw 11 днів тому

    Paper saa aik din pehlaa tyaryy😅 done

  • @deepikasolankicse5366
    @deepikasolankicse5366 2 роки тому +1

    thanks sir

  • @muhammadmoin74
    @muhammadmoin74 3 роки тому +2

    what will happen if a inOrder Traversal is given in ALPHABETS and no increasing/or decreasing order is being followed and you have to answer the preOrder from the given choices?

    • @aritradas2840
      @aritradas2840 2 роки тому

      That's the same problem i am having

  • @eclipse8321
    @eclipse8321 Рік тому +2

    can someone clear...why he didn't make 39 the right child of 25😢..very confused.

    • @Light_yagami_123
      @Light_yagami_123 2 місяці тому +1

      Because 39 is on the right side of the root element 30

  • @Satya_ganta
    @Satya_ganta Рік тому

    As those are numbers.. it follows ascending order, if they are alphabets does it follows alphabetical order?

  • @knowledgebhajja2019
    @knowledgebhajja2019 3 роки тому

    Thanks ❤️

  • @deepeshshah4961
    @deepeshshah4961 3 роки тому

    Sir, you said that we can create the BST if we know any 2 of the (Inorder/Pre-order/Post-order) but there is PYQ asked in 1987 which says - "For unique tree, Inorder must be present along with any 1 of (Pre-order / Post-order)"

  • @HassanKhan-tr5ph
    @HassanKhan-tr5ph Рік тому

    super sir g.

  • @ChandanKumar-lq9jn
    @ChandanKumar-lq9jn Рік тому

    2:46
    If given question not in number then how we can arrange in ascending or descending order?

  • @richakumari4831
    @richakumari4831 3 роки тому +1

    u are looking gorgeous .....in this outfit😍☺

  • @amarjeetkumar-jj7it
    @amarjeetkumar-jj7it 2 місяці тому +1

    Sir main ko bharat ratna se samanit karna chahta hu 😊😊😊😊

  • @itz_romeo_ff5665
    @itz_romeo_ff5665 2 роки тому

    Thank you sir ji

  • @sameerpatlekar2298
    @sameerpatlekar2298 2 роки тому +1

    🔥🔥🔥🔥

  • @Explore_Sphere
    @Explore_Sphere Рік тому

    what if in-order is given in question, then how can we find the root node? because root node is in between the list of numbers? how can we identify?

  • @Smartstudy20409
    @Smartstudy20409 2 роки тому

    Nyc class