Traveling Salesman Problem using Dynamic Programming | DAA

Поделиться
HTML-код
  • Опубликовано: 12 мар 2019
  • Discussed Traveling Salesman Problem -- Dynamic Programming--explained using Formula.
    TSP solved using the Brute Force method and Dynamic Programming approach
    Time Complexity using DP approach would be O(2^n * n^2)
    See Complete Playlists:
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    Connect & Contact Me:
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/profile/Jayanti...
    Instagram: / jayantikhatrilamba

Комментарии • 291

  • @cse47ritikpal85
    @cse47ritikpal85 3 года назад +70

    You are really very good teacher of data structure & algorithms. I learn very soon from your explanations. Thanks a lot ma'am for your without paid teaching, may God bless you .

  • @VinodKumar-fn2iq
    @VinodKumar-fn2iq 3 года назад +561

    My Teacher posted this link in our Google classroom 😂

    • @anirudhakulkarni9134
      @anirudhakulkarni9134 3 года назад +69

      Same for me...I don't know why we are paying them...I am doing my engineering through online material and YT

    • @harshkamboj8044
      @harshkamboj8044 3 года назад +10

      Same here

    • @chenchuladeepika9782
      @chenchuladeepika9782 3 года назад +9

      Everything.... Google 🧘‍♀️

    • @waterspray5743
      @waterspray5743 3 года назад +26

      @@anirudhakulkarni9134 You're paying them to take exams. lol

    • @shrutisharma3962
      @shrutisharma3962 3 года назад +1

      😂😂😂😂😂😂

  • @joels978
    @joels978 2 года назад +18

    Awesome and intuitive explanation that beats all the others I found on RUclips for this topic. Thanks so much!

  • @sunnyding602
    @sunnyding602 3 года назад +40

    this is again the easiest-to-understand video I found. Thank you Jenny!

  • @justpurs2306
    @justpurs2306 4 года назад +22

    After watching your tutorials a lot....I got something very clear... You explain things more beautifully than Abdul Bari... He teaches well also... your tutorials look similar to him... but you are good at explaining... and thanks ... Lots of Love from...Balochistan

  • @xoxo_kylie
    @xoxo_kylie 3 года назад +6

    If only my teacher explained to me this clearly in class i would be somewhere now.... Thanks madam for breaking down a complex problem so intuitively

  • @irishjoybvillanueva8417
    @irishjoybvillanueva8417 3 года назад +20

    i did not skip the ads because u have really taught me.

  • @gidartsproduction5439
    @gidartsproduction5439 4 года назад +3

    I have been watch tutorials for years and thankfully I found a helpful channel. Keep up with good work.

  • @nishitkashyap8748
    @nishitkashyap8748 3 года назад +30

    Seeing this before my seminar now I feel confident, Thanks a lot Mam ❤

  • @AshutoshKumar-ne5wv
    @AshutoshKumar-ne5wv 4 года назад +8

    Your teaching skill osam
    keep it up......
    I am an 3rd year engineering student so this day's you help me lot of
    So I just say love you ❤️❤️❤️❤️

  • @rohan8758
    @rohan8758 4 года назад +10

    your explanation is too good & you deliver your knowledge in simple terms, thank you madam..

  • @Nam_David
    @Nam_David 3 месяца назад +2

    Ms. Jenny, your explanation is absolutely clear. Thank you

  • @nirmaltom4424
    @nirmaltom4424 4 года назад +4

    👏🏻👏🏻👏🏻 Better than our college faculty....Thank you mam.. Worth subscribing.. Worth video 👍👍🤓❤️

  • @RathourShubham
    @RathourShubham 5 лет назад +25

    beauty with brain❤️❤️❤️
    Edited : U too take care!!!

  • @arvindg553
    @arvindg553 4 года назад

    Only vedio only which explain the formula
    Thank you ma'am ❤️

  • @Ghouse0312
    @Ghouse0312 10 месяцев назад +2

    Thank you so much Ma'am
    All concept clear
    I watched your 0/1 knapsack problem using Dynamic programming
    It's very helpful
    Thank you ma'am ❤❤
    I shared this with my friends too 😊😊

  • @prayagpatel5887
    @prayagpatel5887 4 года назад +2

    Love you mam. And also love your effort to make topic simple.

  • @RahulKumar-ck1hr
    @RahulKumar-ck1hr 2 года назад +2

    Got exactly what I was looking for... Thanks

  • @Aditya-dv5wg
    @Aditya-dv5wg 3 года назад

    Excellent teacher and teaching style🔥🔥🔥🔥

  • @wasit-shafi
    @wasit-shafi 4 года назад +2

    osom...! i am CS from past 5 year & i think ur way of teaching just osom...how simply u explain in ur videos i to like ur quick sort vidoe too much...keep it up...

  • @amritpalsingh7262
    @amritpalsingh7262 4 года назад +6

    Great video👌😍, plz upload a series on Fibonacci heap and binomial heap
    I'll greatly appreciate it.
    Thanks 🙏

  • @yuvaraj9268
    @yuvaraj9268 3 года назад +2

    Explained beautifully, thank you 🙂🙏

  • @obsinankebebe6567
    @obsinankebebe6567 3 года назад +1

    Really, I appreciate this lecture video incase of its more understandable. 10q jenny's am with you when ever I am in Cs.

  • @warriorforsure
    @warriorforsure Год назад

    Aaapki awaaj me suru me itni sehmi sehmi se thi...aur last me boom boom...you are sweet so..❤️❤️... thanks

  • @reyvanadryan2513
    @reyvanadryan2513 4 года назад +4

    Thanks a lot, i do appreciate this!

  • @vobensingh8404
    @vobensingh8404 Год назад

    Best class mam where we never disappointed. 👌❣️❣️❣️

  • @user-om6te2bo7k
    @user-om6te2bo7k Год назад

    I got very good faculty here, I can understand easy way. Thankyou ma'am

  • @utkarshkumar5349
    @utkarshkumar5349 3 года назад +1

    Thanks for the nice video madam . I had been struggling with graph theory for a long time . But you explained as easily as teachers used to explain in middle school.

  • @nishantsaxena7500
    @nishantsaxena7500 5 лет назад +5

    Good Work jenny .. hope soon your subscribers or views will be in millions :)

  • @MSSKEERTHIKAK
    @MSSKEERTHIKAK 4 года назад

    Thank you so much mam!! Such a good explanation!! ❤

  • @jatinkhanna6681
    @jatinkhanna6681 4 года назад +2

    Excellent work mam god bless you

  • @patelshubhamkumar6263
    @patelshubhamkumar6263 4 года назад

    The best teacher ever...
    Give like if u also like the way ma'am teaches!!

  • @shrinathgaikwad8028
    @shrinathgaikwad8028 Год назад +2

    Great teaching techniques and skills mam

  • @manav____
    @manav____ 3 года назад +1

    I was kind of stressed out but your smile in the begging made my day! and by the way great explaination.

    • @user-gq1ij
      @user-gq1ij 3 года назад

      To unka exam nhi hai, vo to smile krengi hi, hmara exam hai, hm royenge

  • @AmitKumar-ub3ev
    @AmitKumar-ub3ev 5 лет назад +5

    Loved the way

  • @poojatikhe2046
    @poojatikhe2046 5 лет назад +2

    Very good explanation thank a lot.

  • @bhavanipandugah4455
    @bhavanipandugah4455 Год назад

    I watched this vedio before my exam and got full marks.... thank you so much madam

  • @SAM-mug
    @SAM-mug Год назад

    Wah yr kamal ker diya apne tu... Mujhy samajh aa gya 😃

  • @bhavana.hgowda2743
    @bhavana.hgowda2743 2 месяца назад

    Mam ur teaching is just amazing😊

  • @mamatanayak6739
    @mamatanayak6739 Год назад

    Many many thank you mam .excellent your explain travelling sales man problem .

  • @dhanushh2171
    @dhanushh2171 Год назад +2

    Sometimes when people first hear about the Traveling Salesman problem, they think: "Oh, that's not hard. Start with a city on the map; move to the nearest unvisited city; and then on each subsequent step, move to the nearest still-unvisited city, until you're done." This strategy is called a "greedy strategy": it always goes to the nearest allowed step.
    Now consider four cities, all placed along the number line. City A is at point 0, City B at point 2, City C at point 3, and City D at point 10:
    A B C D
    00-01-02-03-04-05-06-07-08-09-10
    Now, start a traveling salesman tour at City B, and use the greedy algorithm to choose your tour of the four cities, beginning and ending at B. How long is the greedy algorithm’s tour?
    Can you answer me, mam

  • @santhoshk2722
    @santhoshk2722 10 месяцев назад +2

    Helped me a lot Thank you

  • @fitnesswithvaibhav
    @fitnesswithvaibhav 4 года назад

    Thanks mam you are the best teacher in the world please ap hamay thoday or questions kraya kro taki hamari gate ki preparation ho Jaye ❤️❤️😍😍😘😘😘😘😘

  • @saieedkaiser8830
    @saieedkaiser8830 2 года назад

    In detail explanation ...hats off to u

  • @iamrising7176
    @iamrising7176 4 месяца назад

    You are the best, Jenny.

  • @SS40519
    @SS40519 4 года назад

    Love you 😘😘 and your teaching skills

  • @alwaysaditi2001
    @alwaysaditi2001 3 года назад

    Very helpful, thank you!

  • @akshitmangotra5370
    @akshitmangotra5370 4 года назад +3

    mam could you please suggest me from where you have read and understood the concepts. You are damn well explaining and i want to learn this subject more deeply.So suggest me a website or books or the best place u know so that it increases my conceptual and coding skills in DSA

  • @rituvishwkarma1887
    @rituvishwkarma1887 3 года назад

    Thank you so much mam for solving this problem

  • @abhishekmahawadi7670
    @abhishekmahawadi7670 5 лет назад +4

    Good and easy explanation

  • @sireeshauppala2084
    @sireeshauppala2084 2 года назад

    very clear explanation mam ,thank you

  • @dheerajnemalikanti3703
    @dheerajnemalikanti3703 5 лет назад +2

    Great work didi !!

  • @sharonlul8181
    @sharonlul8181 5 лет назад +5

    Plz do a topic on traveling salesman with branch and bound method

  • @crazydrifter13
    @crazydrifter13 4 года назад +6

    Mam this video also has relative content loudness of -3.5db. Many of us are watching you on mobiles and laptops without earphones. Please give some efforts on good video editing and processing too. Thanks.

  • @mirzaibrahim9240
    @mirzaibrahim9240 2 года назад

    Splendid explanation !
    Thank you so much for the video.

  • @isaacade2075
    @isaacade2075 4 месяца назад

    Amazing teacher. Wow

  • @mygchrome9135
    @mygchrome9135 5 лет назад +1

    You rock Jenny Lamba! You made this problem so easy! Amazing explanation by a very attractive lady! Keep it up!

  • @user-xr9qo6bi2z
    @user-xr9qo6bi2z 20 дней назад

    you are the best teacher

  • @nishantsaxena7500
    @nishantsaxena7500 5 лет назад +4

    i want to give u one suggestion please give link of code also so that students can also visit it understand how to write program for given algorithm.. which will really helpful ...

  • @rudratejjadhav911
    @rudratejjadhav911 3 года назад

    👌👌 great lecture easy to learn

  • @donLennin
    @donLennin 4 года назад

    @Jenny's lectures CS/IT NET&JRF You should do a video on the proof of the complexity for this method.

  • @anmolkesharwani8208
    @anmolkesharwani8208 5 лет назад +1

    great work ma'am

  • @carameshnaragani7395
    @carameshnaragani7395 3 года назад +1

    I am chartered accountant, similar concept is available in costing paper, which we will call it assignment problem

  • @falonlisten3269
    @falonlisten3269 Год назад +2

    Thank you Jenny

  • @LogicalSharmaSupport
    @LogicalSharmaSupport 2 года назад

    😀 kal mst hai mera aaj iss video ko dekhne k baad lag raha hai ye sab easy hai

  • @pdivyapdivya7455
    @pdivyapdivya7455 2 года назад +1

    Really exllent teaching mam

  • @exploreworld743
    @exploreworld743 4 года назад +2

    Mind blowing sperrrrr

  • @sejaaaa3993
    @sejaaaa3993 3 месяца назад

    Dayumm best video

  • @rammanoharkoruprolu9869
    @rammanoharkoruprolu9869 3 года назад

    This method is awesome....compare to coloum and row reduction method .....anyways thanks mam...

  • @SAM-mug
    @SAM-mug Год назад

    @jenny, Is this C Matric standard or we can use any numbers within this matrix? like how come 16, 11,6 are the numeric values for B,C,D respectively?

  • @biswadeepchakraborty5354
    @biswadeepchakraborty5354 5 лет назад +1

    Nicely explained

  • @brahmareddythumu9885
    @brahmareddythumu9885 4 года назад +2

    Please upload all concepts on DAA and computer networking

  • @deepanaaruchamy
    @deepanaaruchamy Год назад

    Thank you Soo much it help me ah lot

  • @user-hv7li2ko7l
    @user-hv7li2ko7l 4 года назад +1

    I love you so much with your perfect vedios.

  • @anandsingh2653
    @anandsingh2653 2 года назад

    Life saver mam..tqq soooo much

  • @nirajmeshram4
    @nirajmeshram4 5 лет назад

    bhot bhot bhot bhot bhot bhot thankyou...............................................

  • @cri789
    @cri789 Год назад

    Mind blowing explainition

  • @adityadev2825
    @adityadev2825 4 года назад +1

    Awesome 🔥

  • @suparnasadhu7994
    @suparnasadhu7994 3 года назад

    Hello mam, can u pls give the link for travelling salesman problem using brute-force method and using branch and bound? I am not finding.

  • @haadbajwa7565
    @haadbajwa7565 2 года назад +1

    Mathematics makes a simple problem so complicated

  • @kartikeyvishwakarma9944
    @kartikeyvishwakarma9944 4 года назад

    good explanation!!

  • @biswadeepchakraborty5354
    @biswadeepchakraborty5354 5 лет назад +17

    Hello ma'am according to the tree you represented there are few methods like g(C, D) has been used twice to calculate the result in each recursive call. So can we just hold the first result and apply this during its second call to decrease time complexity or we are recalculating the methods over and over. And what approach is this whether top to down or bottom up approach

    • @nandanbanerji8309
      @nandanbanerji8309 2 года назад

      Yes, exactly you should do it, as it saves computational cost with respect to recursive calls. That is the primary difference with Recursive approach and DP.

  • @vinoduppara1246
    @vinoduppara1246 3 года назад +1

    Tomorrow is my exam Ur saviour to me

  • @patricechaula3430
    @patricechaula3430 Год назад

    Thank you Jenny.

  • @ganeshjaggineni4097
    @ganeshjaggineni4097 Год назад

    NICE SUPER EXCELLENT MOTIVATED

  • @Chhiling08
    @Chhiling08 5 лет назад +1

    thanks a lot maam

  • @nikhilgoyal007
    @nikhilgoyal007 3 года назад

    Thank you!

  • @prottaybadhon8112
    @prottaybadhon8112 4 года назад

    thank you very much

  • @ashvend
    @ashvend 3 года назад +1

    Mam, Please make a video on the branch and bound

  • @yatri6329
    @yatri6329 3 года назад

    Plz make videos on service to product based company switch.....&video on Graph theory,Bit manipulation

  • @dd9484
    @dd9484 3 года назад

    mam how you easily can tell the time complexity? is there any way to measure time complexity without calculation?

  • @Orthodox19.
    @Orthodox19. 3 года назад

    I most Like and Arciate you !!!

  • @navjeetkaur5742
    @navjeetkaur5742 3 года назад

    Thank u teacher.

  • @sudinkirtan3993
    @sudinkirtan3993 3 месяца назад

    Ma'am please make a video on N-Queen problem. You helps us a lot ma'am.

  • @shaikzohab2967
    @shaikzohab2967 Год назад +1

    Can we choose any one method or two methods ?

  • @saitejamerugu3725
    @saitejamerugu3725 5 месяцев назад

    Thank you so much mam

  • @raihanhafiz1221
    @raihanhafiz1221 4 года назад +1

    Please Make video on computer networks.

  • @YasirAli-sj5ql
    @YasirAli-sj5ql Год назад

    Thank U.

  • @ranjandas509
    @ranjandas509 4 года назад +2

    Perfect explanation.......

  • @carameshnaragani7395
    @carameshnaragani7395 3 года назад +1

    u r beauty with brain 😍😍😍😍😍😍