Transcript for:
Strategies for Solving the Knapsack Problem

guys in today's python dhc video i am telling about the method of knapsack okay okay so now i do not take a long time so let me do computer skin and let's do a coding with loving so guys in today's corporate pk video i am telling about the method so now let's learn about that now here's one systematic strategy we apply for solving the problems like in the previous video i'll give you a some one problem of the okay like let me show you which type of problem i have give you like this one can knapsack problem i have gave you and now let's me give you the method of that then in the next video we will solve we i tell you about the solution now here's one symptomatic strategy we apply for solving the problems there are six strategies we learn these all strategy in today's video number first strategy is you state the problem clearly okay like this one problem i state this problem clearly okay this is problem okay okay first of all you state that problem then you identify the input and output for me this is like this is my problem yeah this is one and uh repairing okay so this is like that number two you come up with some example inputs like let me this one example now let me solve it okay then then some example inputs and output and try to cover all ages cases now let me cover all ages cases now okay number three you come up with the correct solution from the problem and state it in the plain english with in plain English number four you implement a solution and test it using example inputs fig bugs if any number five you analyze the algorithms complexity and identify the efficiencies if any number six you apply the right technique to overcome the efficiency repeat steps three to six okay repeat step three to six this expects approach is explained in detail in lesson one of the course let's apply this approach step by step okay so now here you can see this videos about the method with python dsa i give you one six cinematic strategies i have told you you can ever apply this six step in cinematic strategy then it is very easier to solve the any problem for you okay and now here you can see like i've told you these three science semantic story six is symptomatic is tragedy you must know these six is cinematic strategy then you will be very easier to solving in the problems okay then you will be solved the problem very fastly and easily that's why i'm telling you please solve the you can must know these and six cinematic strategy so here you can see it in today's video i tell you about the method so i hope you can enjoy this class if you enjoy so please like this video share friend and subscribe to my channel do not forget to all the nutrition well also and i i appreciate your support though if you generally appreciate my work so please it let me let your friends know about this course about two so now uh here you can see it and play if you do not check my whole village yet so move on to the code.com or my youtube channel so you can easily access it so now i'm enjoying next class where we learn about the solution of the knapsack problem so for today good bye