Depth First Search (DFS) with example | Uninformed Search | Artificial Intelligence

Поділитися
Вставка
  • Опубліковано 1 жов 2024
  • 👉Subscribe to our new channel: / @varunainashots
    ►Link for BFS: • Breadth First Search w...
    ► Artificial Intelligence (Complete Playlist):
    • Artificial Intelligenc...
    Other subject-wise playlist Links:
    --------------------------------------------------------------------------------------------------------------------------------------
    ► Operating System :
    • Operating System (Comp...
    ►Database Management System:
    • DBMS (Database Managem...
    ► Theory of Computation
    • TOC(Theory of Computat...
    ►Data Structure :
    • Data Structure
    ►Computer Networks (Complete Playlist):
    • Computer Networks (Com...
    ►Computer Architecture (Complete Playlist):
    • Computer Organization ...
    ►Structured Query Language (SQL):
    • Structured Query Langu...
    ►Discrete Mathematics:
    • Discrete Mathematics
    ►Compiler Design:
    • Compiler Design (Compl...
    ►Number System:
    • Number system
    ►Cloud Computing & BIG Data:
    • Cloud Computing & BIG ...
    ►Software Engineering:
    • Software Engineering
    ►Design and Analysis of algorithms (DAA) (Complete Playlist):
    • Design and Analysis of...
    ►Graph Theory:
    • Graph Theory
    ►Programming in C:
    • C Programming
    ►Digital Logic:
    • Digital Logic (Complet...
    ---------------------------------------------------------------------------------------------------------------------------------------
    Our social media Links:
    ► Subscribe to us on UA-cam: / gatesmashers
    ►Subscribe to our new channel: / @varunainashots
    ► Like our page on Facebook: / gatesmashers
    ► Follow us on Instagram: / gate.smashers
    ► Follow us on Instagram: / varunainashots
    ► Follow us on Telegram: t.me/gatesmash...
    ► Follow us on Threads: www.threads.ne...
    --------------------------------------------------------------------------------------------------------------------------------------
    ►For Any Query, Suggestion or notes contribution:
    Email us at: gatesmashers2018@gmail.com

КОМЕНТАРІ • 367

  • @everything5312
    @everything5312 Рік тому +67

    Tomorrow is my exam

    • @aviraj2978
      @aviraj2978 6 місяців тому +5

      And tomorrow is mine 😂

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

      Me too ​@@aviraj2978

    • @Sunil.kandpal
      @Sunil.kandpal 5 місяців тому +3

      Today is my exam

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

      Acha kia bata dia muje nhi pta tha😊

    • @everything5312
      @everything5312 5 місяців тому +2

      @@haseebazam751 🗿

  • @ankitanandy1635
    @ankitanandy1635 3 місяці тому +5

    Today within 3 hrs is my exam

  • @zasgaming1281
    @zasgaming1281 2 роки тому +57

    Am an AI student, when I took admission in this subject for pg I was little nervous but now your building my confidence that I can do it. Am a first-year student from A.bad , Maharashtra want to thank you...thank you.

  • @SS-fz6qt
    @SS-fz6qt 3 роки тому +113

    Thank you so much, very well explained, I am from Pakistan. Your way of teaching is excellent and wonderful. I appreciate your efforts and devotion Sir. Please keep making such beneficial videos for students.

  • @shashikalaraju5769
    @shashikalaraju5769 2 роки тому +14

    Thank you for your efforts. But sir after A both B and C entered the stack, which is a feature of BFS not DFS. Its either C or B. Right?

  • @usamakhan-vn5ql
    @usamakhan-vn5ql 5 місяців тому +2

    Tomorrow will my exam 😊

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

    When you are studying in parul university and when you watch this video the add come parul university the best place for study :) sed lyf

  • @haiderzal
    @haiderzal 4 роки тому +66

    We also want playlists on machine learning and deep learning with python.

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

    Last u told about the b^d= 2^2= 4. But did we got the element G within 4 search . Please explain

  • @throttle4you70
    @throttle4you70 2 роки тому +11

    Watch it on 2x❤️😊

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

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

  • @kingsadiq487
    @kingsadiq487 3 роки тому +10

    amaging u sir , the way u teach is very simple and interesting , i shared your chanel to my class they found very ineresting . May god bless u sir, from hyderabad Pakistan .

  • @kiranoruganti4057
    @kiranoruganti4057 2 роки тому +6

    🥺🥺TQ for everything you are doing

  • @sandeepraghuvir
    @sandeepraghuvir 5 років тому +8

    Thanq You so much Sir Please explain this topic with Some different examples please.........

  • @lytre4919
    @lytre4919 3 роки тому +15

    That moment what the light hits the board(6.00 ) .. i thought my display's had a problem 😂😂. Lol but good explaination though i watch your videos at 1.5x speed.. it's better to teach slow anyway 😌😌

  • @ntuconcepts9115
    @ntuconcepts9115 3 роки тому +15

    Sir I can't define your effort in words....I have no words to say something about you...Excellent Sir

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

    After watching your videos always my problems are solved thanku so much sir u r great 😍😍

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

    not clear about why bfs is complete and dfs is incomplete, they both could be considered incomplete is the graph is very big in both cases?

    • @EagleFFofficial
      @EagleFFofficial 3 місяці тому

      BFS is complete because BFS eliminates node after node in the graph. BFS doesn't leave any node behind unvisited ,but DFS is incomplete because it goes into the depth of the node and then backtracks if that particular node is infinite then it would trap us in that loop That is why DFS is incomplete

  • @anishchar4282
    @anishchar4282 2 роки тому +16

    You and your teaching techniques both are awesome sir 👏

  • @aimlb219akashtiwari9
    @aimlb219akashtiwari9 Рік тому +4

    Sir can you recommend which book to refer for the AI subject?

  • @hell_robo
    @hell_robo 6 місяців тому +1

    SHORT NOTE ON BFS:
    1. Breadth First Search (BFS) is an uninformed or blind searching strategy.
    2. BFS utilizes a queue data structure with a First-In-First-Out (FIFO) approach.
    3. In BFS, searching progresses level by level, ensuring that the nearest nodes are explored first.
    4. It is a complete searching technique, traversing through every possible node to determine if a particular node is the goal node.
    5. Additionally, BFS is an optimal strategy for finding the goal node or ending node.

  • @rithwikchhugani8117
    @rithwikchhugani8117 4 роки тому +16

    again an awesome and lucid explanation of the depth-first search algorithm. thank you so much

  • @kamranzafar_raisecode
    @kamranzafar_raisecode 4 роки тому +6

    M from Pakistan Bhai ap ka jawab nh out standing teaching experience

  • @motivationworld27
    @motivationworld27 6 місяців тому +1

    As you say that it will go into deeper into one direction so there should be result like ACGFBDE instead of ACGFBED Am i right ????

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

    Thank God I found today lecture in this channel 🥰🥰 this lecture in data structure but I found in artificial intelligence 👍❤️🌹🥀♥️

  • @the_islamsays
    @the_islamsays 2 роки тому +2

    Thank you Sir, keep going.. from Pakistan 🇵🇰

  • @samruddhidighe6557
    @samruddhidighe6557 2 роки тому +2

    Sir plz, take a example of DFS & BFS with directed graph

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

    Thanku so much sir ....u have explained it very well

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

    1 second ago
    Ayo wtf. Jaydev Unadkat teaching DFS (Deep Fast Swing Bowling). 😂

  • @risvanaabu8890
    @risvanaabu8890 5 років тому +8

    actually i dnt knw hindi language. but your teaching is fabulous... language is not a factor for u... your way of teaching is superb..
    thankyou so much sir
    may god bless you..

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

      Which language do you know then apart from the English?

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

      @@xiaomichina5884 malayalam

  • @jawanaramchoudhary9558
    @jawanaramchoudhary9558 5 років тому +6

    Thanks u sir ji please provide all topics on artificial intelligence for net

  • @rahmanraihan6922
    @rahmanraihan6922 4 роки тому +6

    Great brother ..keep it up. from BD

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

    Vrygrt video sir very useful honestly sir you are hope for lotof students a grt guide n superb mentor .thanxusoomuch sir

  • @food8814
    @food8814 2 роки тому +2

    sir plz make video on forward and backward chaining & also on first order logic

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

    after watching ur videos my problems are solved thanku sir u are a great ❤

  • @meghabharti9808
    @meghabharti9808 3 роки тому +3

    Day after tomorrow is my exam.
    And you explain very well. I m complety prepared for my exam.

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

    Thank you sir plzzz ap design and analysis of algorithm ka sorting aur Amorized analysis ke upar vdo banaenge

  • @khushijain4311
    @khushijain4311 2 роки тому +2

    your new subscriber 🙂

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

    Your videos are great sir had lot of help but in case of cycle how it will go in loop as we are maintaining the stack we also keep track of the nodes traverse and visited. There might be a correction. Please Verify

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

    his whole AI playlist saved my life. Love from Canada

  • @PRIYASINGH-hf3ff
    @PRIYASINGH-hf3ff 5 років тому +7

    sir please ur way of teaching is awesome i really liked soo much mtlb sabkuch bhot easily smjh ata hai...its my humble request ki ap DAA and python par complete course video bnaye. abhi engineering clg me dono subject bhot trend me hai..really need your help

  • @vandanabansal690
    @vandanabansal690 5 років тому +4

    Hey Sir, thanku for your best teaching. Plz upload videos for TOC also.. If possible..!!
    Thanks.

  • @shashank_O7
    @shashank_O7 5 років тому +43

    Pure Magic!!

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

      But time complexity is wrong, it is O(b^m) where m is max depth

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

      @@Nerolover33 b to the power d can be possible if d is maximum depth

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

    So time complexity is same in both bfs and dfs?

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

    Well teacher 🙏🏻🙏🏻

  • @pickapack4704
    @pickapack4704 2 роки тому +2

    Thank you sir for this ground level explanation
    Lots of love from umbc

  • @nazmulhossain5920
    @nazmulhossain5920 3 роки тому +6

    very clear and easily understandable. Salute sir.

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

    Hate those people who dislike your videos.....there is nothing to dislike in such useful videos still some crack minded people have disliked it .

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

    Amazing ❤️

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

    Excellent presentation gentleman lots and lots of love and hugs from Pakistan.

  • @DarlingHiroXX
    @DarlingHiroXX 2 роки тому +2

    Have you made a video on Iterative deepening search ?

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

    finally I understood thank you Sir XD

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

    thank you sir.....a very gorgeous method of teaching you have .....from pakistan..

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

    Can you please post a video of applying DFS and BFS on graphs?

  • @sandipanmandal3830
    @sandipanmandal3830 10 місяців тому +2

    kyun kal exam h na?

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

    if it had english subtitles it would be great !
    overall still understood some thanks mate

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

      yeaaa it would be awesome

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

    Just watching before 4 hours of exam😅

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

    Is there any video about fuzzy logic???

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

    Sir DFS and BFS both are same in AI and DS?

  • @sharadatatikonda2665
    @sharadatatikonda2665 5 років тому +4

    SIR UR TEACHING IS EXCELLENT WAY OF EXPLANATION IS IN VERY DETAIL

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

    Sir please upload all videos of AI... your teaching way is superb

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

    Is this all syllabus covered for TYBSCIT?

  • @monaminor3342
    @monaminor3342 5 років тому +1

    Can you make one video how to prepare for gate 2020.
    Which books, which course and which test series.
    Pls make.

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

    Sir aap left side se kiun nhee gye bhrwe

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

    Sir....
    Aapke wjh se hi OS mera fav. Paper bn gya tha or ab ye v
    Thanku sir...

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

    Implementation of dfs in prolog and implementation of bfs in prolog
    Sir is ka program sent kr dain.
    please

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

    Anyone from galgotias university watching this tutorial.

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

    Such a clear explanation 👍👍

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

    Ty sir

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

    I wish you were speaking in English, we too in Africa we are doing computer science , we need help. we are left out with such UA-cam videos when you are not speaking English

  • @PawanKumar-ob9tu
    @PawanKumar-ob9tu 3 роки тому +1

    thank you sir
    very very nice video
    because you are teaching fabulous.

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

    end main thankyou bol k dil jeet lete ho

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

    Sir, aapke voice itane clear ha ke aap jo bolte ha vo sab samaj aata
    You are great 👩‍🏫‍teacher😊

  • @TheBlackHole-rc3zk
    @TheBlackHole-rc3zk Рік тому

    Why you consider infinite state while explaining DFS if you consider infinite state in BFS then it will also be an incomplete for in a case our branching factor is infinite but our goal will be exist on second level fir node then BFS is also become an incomplete.

  • @RajNandurkar-o9l
    @RajNandurkar-o9l 14 днів тому

    Sir, what if the branching factor is different at each node? for instance, A has 3 branches B,C,D and further B C D has 2 branch each. In such case what should be 'b'. Same for 'd', if depth is uneven.

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

    Excellent explanation sir👍

  • @prashreetiwasti7264
    @prashreetiwasti7264 5 років тому +7

    Thank you sir, love from Nepal 💖

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

    Apny kaha k uninformed approach mai optimality Guaranteed hai , lekin yahan phr dfs optimal q ni hai ?

  • @TheMohdfaiz
    @TheMohdfaiz 5 років тому +1

    Hi. Sir obiee 12 c pe lecture start karye plez apka teaching style superb hai..

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

    Which one is faster bfs or dfs. Can you explain this with Same example please... 🙏🏼🙏🏼🙏🏼

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

    Sir can you share us a proper material of this topic like all the dfs bfs in traversal algorithms we are very thankful to you

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

      ua-cam.com/channels/VPts3oDzNFCxB6eCvgaJqQ.html

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

    Watching from *NIT SRINAGAR*

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

    Sir time complexity par ek full video bna dijiye please kese nikalti hai ye abhi tak samaj nhi 2 saal ho gye ratte ratte please 🙏🙏🙏🙏🙏

  • @oshniklife9661
    @oshniklife9661 5 років тому +3

    Wow sir..aap hamari saari demands fullfil kar re..thank you

  • @Akashkumar_12
    @Akashkumar_12 25 днів тому

    thank you so much sir😇 order matter first B node then C node because of recursion , recursion always traverse left to right

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

    Thoda complex question liya kariye sir easy bahut h

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

    Bahut badhiya sir g

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

    Sir last ki baat clear nhi hui 4 search m kaise complete hoga ydi m a to b, b to d, d to b and b to e then again reverse ye bhut jyada search lega plz make it clear

  • @queenstudent7415
    @queenstudent7415 2 роки тому +12

    You teach very well. No one tells you as good and understood as you.

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

      True words...pls teach me grammar 🥺🥺

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

      @@arpitpandeyofc 🤣🤣😂😂

    • @amogh205
      @amogh205 10 місяців тому

      ​@@arpitpandeyofcbro💀

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

    Itte cute h ap..or utna hi acha explain krte hai.. ❣️tq sir🤗

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

    not to be rude or something but , dont make an english title when u'r not going to talk in english
    or atleast add ( hindi )

  • @reznov.21
    @reznov.21 Рік тому +1

    Thanks love from Russia ❤

  • @islamtruth2.0
    @islamtruth2.0 4 місяці тому

    Great sir everyone is watching before 1 day before exam

  • @codersam-g8t
    @codersam-g8t День тому

    After watching 10 videos I found your video and understood it easily, thanks brother

  • @Teju0221
    @Teju0221 3 місяці тому +1

    Today i hv internal of ai

  • @sagargoudar1724
    @sagargoudar1724 2 місяці тому

    Sir tomorrow we have exams sir I prepared by this video sirr I need your blessings for my exams

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

    When I will Visit India I will Meet you to thanks Love From Pakistan ❤

  • @arkadiptadas4148
    @arkadiptadas4148 5 років тому +9

    Beautiful explanation!

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

      ua-cam.com/channels/VPts3oDzNFCxB6eCvgaJqQ.html

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

    I can't believe how great this is! I recently read a similar book, and it was absolutely incredible. "Game Theory and the Pursuit of Algorithmic Fairness" by Jack Frostwell

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

    Sir iski time complexity me doubt hai jaruri thodi hai ki har node ke child same ho to ham kaise declare karemge depth or branch