Skip to content

This repository contains the Assignment code of Design and Analysis of Algorithm Assignments of SPPU, Third Year IT Syllabus (2019 pattern)

Notifications You must be signed in to change notification settings

khan-mujeeb/LP1-DAA-SPPU-IT-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

design-and-analysis-of-algorithm-DAA

This repository contains the Assignment code of Design and Analysis of Algorithm Assignments of SPPU, Third Year IT Syllabus (2019 pattern)


Assignment and Problem Statement


ASSIGNMENT PROBLEM STATEMENT
Assignment 1 Write a program to implement Fractional knapsack using Greedy algorithm and 0/1 knapsack using dynamic programming. Show that Greedy strategy does not necessarily yield an optimal solution over a dynamic programming approach.
Assignment 2 Write a program to implement Bellman-Ford Algorithm using Dynamic Programming and verify the time complexity.
Assignment 3 Write a recursive program to find the solution of placing n queens on the chessboard so that no two queens attack each other using Backtracking.
Assignment 4 Write a program to solve the travelling salesman problem and to print the path and the cost using LC Branch and Bound.

About

This repository contains the Assignment code of Design and Analysis of Algorithm Assignments of SPPU, Third Year IT Syllabus (2019 pattern)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages