We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Looking For Something at Site? Search Below

Dynamic Programming is always preferable over greedy approach " Support or contradict this statement with solid arguments.

  

Note:

 A concise, coherent and to the point comment is preferred over lengthy comment having irrelevant details. Your comment must not be more than 5-7 lines. Comments, posted on regular Lesson's MDB or sent through email will NOT be considered. Any request about such an acceptance will not be catered.

 

launched on July 9, 2012 and it will remain open till July 10, 2012.

 

 


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 921

Replies to This Discussion

A greedy algorithm is similar to a dynamic programming algorithm, but the difference is that solutions to the subproblems do not have to be known at each stage; instead a "greedy" choice can be made of what looks best for the moment.

Consider this example.
You are standing at a place A. You are to goto B. There are intermediate places C1,C2 ...
You want to minimize distance travelled.
Greedy Method of Solving
You don’t want to try all intermediate places. You go to the nearest intermediate place. Why? You feel by going to the nearest intermediate place, you will minimize the distance to B.
Dynamic Programming

Syed M. Umair Saulat gud.keep it up & keep sharing 

tariq bhai cs501 mai bi khuch help kro gdb mai plzzzzzzzzzzzzzzzz

Thanks bhai 

RSS

Latest Activity

Muhammad Faizan Alam liked + + + " Alif " + + +'s discussion Must Read Every Student Who Want To Get Gud Marks In Exams
5 minutes ago
Muhammad Faizan Alam replied to +M.Tariq Malik's discussion VU New Grading Scheme For Semester Fall 2020
8 minutes ago
Laila kabeer liked Miss. Churhail's discussion LOVE YOUR LIFE!!!!!
15 minutes ago
Alina nawaz liked +M.Tariq Malik's discussion VU New Grading Scheme For Semester Fall 2020
30 minutes ago
Laila kabeer liked +M.Tariq Malik's discussion VU New Grading Scheme For Semester Fall 2020
34 minutes ago
Laila kabeer liked Miss. Churhail's discussion ہار کی پروا کرتا تو جیتنا چھوڑ دیتا
34 minutes ago
Laila kabeer liked 乇メ-丂イひり3刀イ.'s discussion *** الوداع اردو ***
35 minutes ago
++!!Zuni Khan(Am Cyco) liked +M.Tariq Malik's discussion VU New Grading Scheme For Semester Fall 2020
35 minutes ago
maha replied to +M.Tariq Malik's discussion Mid Term Quiz Will Be Conducted Instead Of Mid Term Examinations - Fall 2020 Semester
37 minutes ago
Laila kabeer replied to +M.Tariq Malik's discussion VU All Assignments, GDBs, Online Quizzes Solutions Links in File
44 minutes ago
Laila kabeer replied to +M.Tariq Malik's discussion Mid Term Quiz Will Be Conducted Instead Of Mid Term Examinations - Fall 2020 Semester
45 minutes ago
Laila kabeer liked +M.Tariq Malik's discussion Mid Term Quiz Will Be Conducted Instead Of Mid Term Examinations - Fall 2020 Semester
50 minutes ago
Laila kabeer liked +M.Tariq Malik's discussion VU All Assignments, GDBs, Online Quizzes Solutions Links in File
51 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MTH501 Linear Algebra Assignment 01 Fall 2020 Solution / Discussion Due Date: 03-12-2020 in the group MTH501 Linear Algebra
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MTH501 Linear Algebra Assignment 01 Fall 2020 Solution / Discussion Due Date: 03-12-2020 in the group MTH501 Linear Algebra
1 hour ago
+ ! ! ! ! " Sуe∂α " updated their profile
1 hour ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.