Bidirectional Search Algorithm in Artificial Intelligence in Hindi with Real Life Examples

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 163

  • @jaswanth2788
    @jaswanth2788 Рік тому +34

    00:00 Bidirectional search is a special technique where two simultaneous searches are conducted from initial to goal and backward from goal to initial.
    01:14 Bidirectional search involves searching from both directions simultaneously.
    02:20 Bidirectional search is more efficient than breadth first or depth first search
    03:26 Optimizing time complexity of searching algorithm
    04:28 Bidirectional search reduces time complexity compared to BFS and DFS.
    05:40 Time complexity of BFS/DFS in worst case is O(b^d)
    06:44 Depth first search algorithm explained with an analogy
    07:40 Bidirectional search guarantees optimal solution and completeness with less time complexity compared to BFS and DFS

  • @khanhussain987
    @khanhussain987 4 роки тому +75

    May God bless u respected sir
    Your hardwork will give fruitful results to everyone poor students who r not able to pay fee for competitive exams.

  • @shubhlaabh6342
    @shubhlaabh6342 3 роки тому +7

    Sirji aapka video dekhnese pehle hi like button apne aap active laagbaagh sare log karte honge jinhone aapke 2-3hi video kyu na dekhe ho, aapki mahanat sarahniya hai 👍

  • @469_himani8
    @469_himani8 3 роки тому +14

    You are the saviour of corona batches sir . Thanks a lot . This AI playlist helped me a lot .

  • @a.d.7888
    @a.d.7888 3 роки тому +15

    I can play whole semester because I know at last this man is going to pass me my exams on last day

  • @mamoonkhattak1195
    @mamoonkhattak1195 8 місяців тому +1

    THANK YOU SIR
    ap ki wajha se aj phlye dfa mary exam ki preparation achy hoi.

  • @AnubhavMadhav
    @AnubhavMadhav 3 роки тому +7

    WoW!🤩🤩 How beautifully you have explained with such amazing examples💯. Thank you so much ✨🙏

  • @jaydipbarvaliya
    @jaydipbarvaliya 3 роки тому +145

    me always used BFS while searching my GF

  • @sanketsharma7141
    @sanketsharma7141 4 роки тому +17

    You are superb men....Your teaching skills kamal h bro...Plz continue GATE series 🙏💗

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

    allah apko salamat rakein sir lots of thanks from pakistan

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

    Helo sir ..mein ny 2 saal bd ppsc test ki preparation krna start ki han aur apki videos bht helpful ho rhi han ..jo subject during study boring lgty thy smj ni aty thy bs ab wo b smj aa rhy han ..thank you
    From Pakistan ...you are the best teacher .
    Apko Pakistan mein hona chye tha

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

    I'm a working Student it's really helpful for me.Thanks for explaining sir.

  • @MarkWether
    @MarkWether 13 днів тому

    the way Aliagents structures their AI agents is groundbreaking, can’t wait to see what’s next

  • @bhaiookabhai
    @bhaiookabhai Місяць тому +1

    thanks bro got my mid 1 well!

  • @discoverdevops5368
    @discoverdevops5368 3 роки тому +27

    the aim was to find the Goal node, in this, we already know about the Goal node, then why perform the search?

    • @neerajmahapatra5239
      @neerajmahapatra5239 2 роки тому +18

      It's like you know the school location and your home location but you want to find path...
      Here you know goal also but searching for path

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

    Awesome way to teach very easy to understand.Thank You Guru ji🙏

  • @VaishnaviSaxena-oi9yj
    @VaishnaviSaxena-oi9yj Рік тому +5

    Very good content. I've watched your full playlist on DBMS and Computer Architecture and now this and liked each and every video. Thankyou!
    PS: Please make a video on Iterative Deepening DFS too :)

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

    Aapka hr EK video bahut easily understand hojata h sir..... thank you sir🙏🏼

  • @dr.umadeviveggalam1239
    @dr.umadeviveggalam1239 4 роки тому +3

    excellent lecture, very clear and u made easy, Thank you....

  • @MuhammadShoaib-rb1tk
    @MuhammadShoaib-rb1tk 2 роки тому +2

    Very nice person ☺️ and learn very easily ☺️

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

    Ky behtareen tareeke se samjhaya hai aapne sr ❤

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

    Easy explanation great sir👍💯

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

    sir hamari poori class aaap k video lectures sunti hai aur paper ki last night aur hamari poori class apki fan hai q k... poora saal teachers k lectures hamein samaj nai aaty aur paper se eik din pehlay aapki video dekh k concepts clear hu jaty hain ...im from pakistan

  • @hayazehra7239
    @hayazehra7239 Рік тому +3

    Literally my 3hrs are being wasted every week in university! Your channel is legit

  • @NIKHIL-zl9nb
    @NIKHIL-zl9nb Рік тому

    Sir time complexity for bidirectional search is =o(b^d ) given in book

  • @rounak3239
    @rounak3239 4 роки тому +2

    Gurujee shandar jabardast zindabad

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

    Your explanation so good

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

    we bunk our lectures to watch your classes !!

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

    My name is Shahid Khan from Pakistan kpk.sir I see your all video . I am very thankful to you because your method very easy to understand every student and sir please some video made in assembly language,softwar engineering .

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

      Sir, I request you You also create a video on data structure and algorithms which includes sorting .bubble sort .selection sort. How merage sort works .Waiting for your video,

  • @mvbsaimurali1019
    @mvbsaimurali1019 4 роки тому +7

    when we know the goal state what's the benefit to search for it again, even if we assume there are multiple goal states then how can u determine the initial goal state

    • @25kirtan
      @25kirtan 4 роки тому +2

      to find intermediate states to reach final state

  • @MillerGraph
    @MillerGraph 13 днів тому

    Aliagents is creating a powerful AI ecosystem, I’m excited to see how this develops

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

    Awesome you are such a great teacher ☺️

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

    Sir for each search it is b^d/2. BUT both the searches are operating simultaneously,, so why a constant 2 gets multiplied

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

    Hello Varun! Thank you so much for your hard works. You really help me a lot. And one thing to mention here, I think the space complexity of bidirectional search is O(b^(d/2)). Can you please check? Thanks

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

      ya, that's what i thought. i think it's a mistake in video.

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

    Happy teachers day 🙏❤️ you are my teacher

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

    Thank u so much Sir 😍😍😍
    Ur videos are very helpful for us,,....
    Keep uploading plz...
    Big Love and respect from Pakistan❤❤❤

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

    Bidirectional search is an example of mentos Zindagi.

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

    Aagaya MST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

    Amazing explanation sir.

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

    Really,,,,this is the best...I like it...

  • @JustinBerlowski
    @JustinBerlowski 13 днів тому

    Aliagents is pushing the limits of what’s possible with AI, the future looks promising for them

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

    sir your explanation is very great...

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

    amazing sir. really splendid examples

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

    why time complexity is 2*(b^d/2),
    if they start at the same time it should be b^d/2

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

    Can someone explain, if we already know the goal why would we search? I mean the aim is to search the goal state and if you could initiate a reverse search from the goal state then what's the need of the search in the first place?

  • @sandhyaranisenapati20mcs-09
    @sandhyaranisenapati20mcs-09 4 роки тому

    Thank u sir🤗🤗your explanation is too good😊😊thank u so much

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

    So in this technique we have to already know the goal position....Then what are we searching for?

    • @nikhilnit-andhra-cse3150
      @nikhilnit-andhra-cse3150 20 годин тому

      We always know goal position for these situations we are concerned with the optimal path here

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

    I hope sir you will answer my query
    Sir my humble request is that i have completed btech in computer science and engineering but now i wants to do masters in biotechnology.am i eligible to do msc or mtech in biotechnology.
    Does NTA conducts same exam for both mtech and msc biotechnology..

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

      Yes you can apply for GATE exam if you want to do Mtech in Biotechnology and there is IIT JAM exam for Msc in Biotechnology

  • @EricCooleric
    @EricCooleric 13 днів тому

    following Aliagents closely, their work with tokenized AI agents is one to watch

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

    It is possible sir, we use deapth first search from initial to gaol state and breath first search from goal to initial state

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

    Where are video lectures of other logic and reasoning types?? Please make videos on them.

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

    Excellent explanation sir keep it ❤️

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

    Pass my university exam by watching your video
    Os
    Toc
    Cd
    Ai
    DBMS

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

      Bcs csit ? Nepali ?

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

    Love you brother from Pakistan 🇵🇰

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

    should the time complexity not be b^d as the worst possible case for it would be when both the searches don't meet at an point and will have to travel the entire path(considering multiple points of reaching the goal state exist.

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

    if it is the worst case scenario
    shouldn't time complexity be
    b^d+b^d=2b^d??

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

      We are going upto half depth in forward and half depth in backward..

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

    just watch with 1.75x spedd to save time.

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

    Even if we start from the starting node then move one step forward (say down) and then we move one step upward from the goal state, we are effectively taking 2 steps? So it is not b^(d/2) it is essentially b^(d) unless we are doing parallel processing. Am I right??

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

    Great explaination

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

    which camera you use for recording? nice lectures b/w

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

    How to know where is the goal state? It again takes time to find goal state. Give clarity

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

      same question in my mind if we know the goal state why we find goal state ..

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

      @@AbdulHaseeb091 sometimes it is necessary to know which path is the best one , even if you know the destination.

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

    Thanks a ton ! Sir❤❤❤❤❤❤

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

    Thankyou, Sir!

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

    What will be the Time Complexity if we using BFS ?

  • @wasit-shafi
    @wasit-shafi 4 роки тому +1

    sir is 2(b^d) will be the time complexity for Bi-Directional DFS ...?

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

    Plz tell me about progressive search

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

    Thank you sir.

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

    if u have already known goal in advance, what is the need of search??

  • @SharadPatil-g9x
    @SharadPatil-g9x Місяць тому

    Very nice ❤

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

    Thank you sooo much

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

    Legends are watching this series just one day before final exam 💀

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

      Board exam ☠️

  • @hargunanikhushi4828
    @hargunanikhushi4828 6 місяців тому

    did not get how it's always possible to meet in between - the bfs example
    They could still miss each other no??, unless the stop point is (is node previously visited by friend 2), but if stop point is (is friend 2 at node AT PRESENT), it's possible to miss no?

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

    Thanku guru ji

  • @zarnishmalik3228
    @zarnishmalik3228 2 дні тому

    thankyou sir

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

    Sir if we are searching from start and from goal simultaneously then time complexity must be half as we are searching from both side at same time and meet at middle point and stop there ??
    So time complexity should be b^(d/2) only na ??

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

    Thank You Sir 😊

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

    Thankyou 🙏

  • @amitapaunikar-sonar3721
    @amitapaunikar-sonar3721 4 роки тому

    Thank u sir 👍🏻😊

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

    Thanq sir🤗🤗

  • @AmanSharma-cv3rn
    @AmanSharma-cv3rn 2 роки тому

    This doesn't seems right, if we already know the goal node then why we are doing this searching?

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

    love you sir

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

    is it depth limit search??

  • @空-x2h
    @空-x2h 2 роки тому

    Sir, could you please add subtitles for AI videos? Thanks in advance.

  • @haseebazam751
    @haseebazam751 7 місяців тому +1

    Watching from Palestine 🇵🇸 ❤

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

    What happens in the situation that you have several goal nodes on your tree

  • @user-Green-c9z
    @user-Green-c9z 4 місяці тому

    What will be order of explored nodes :(

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

    As usual❤

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

    Thank you sir

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

    aaj se mai sare doston ko bidirectionally miluga 😏🤣🤣🤣

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

    Thanks sir g 👍

  • @phantomdevil1918
    @phantomdevil1918 6 місяців тому

    level bfs and dfs dono ke niklenge lekin niklega jrur

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

    sir lekin 9 se start karne ki zarrorat hi q hai ... 9 is the goal state....toh answr mil gaya na 9?

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

    What if one follow bfs and other one follows DFS?

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

    level sab ki nikle ge ......
    level search technique

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

    Discrete math plzzz🙂🙂🙂

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

      You can follow knowledge gate lectures for discrete. They are really good

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

    I understood the concept but how do we know where the goal state is to start any algorithm from that side?

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

      bro the question u raised now is one of the disadvantage of this bidirectional search.
      one should know the goal state in advance

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

    Jai mahakaal 🔱

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

    ager number of nodes even hu?

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

    are you god or youtuber Bro?

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

    Hello sir, mujhe aapse apne career ke bare me baat krni haii.. Plz sir apse contact kese kru..