aur subjective 70 % past current se ,
COst ka formula tha ?
How Kruskal’s algorithm works?
why we need reduction and give example ?
Floyd-Warshall Algorithm,
Write pseudo code for Kruskal’s algorithm.
You are given the task of laying down new railway line
between Peshawar and Karachi. There are n intermediate cities that can be used
and you know the cost of laying track between any pair of these cities. Your
goal is to spend the least total amount of track to construct the railway line.
How would you determine the least amount of track and the cities to go through?
Name the best algorithm which addresses the above problem.
bs yhi yad hai ,
money change ka pesudo code bhi tha 5 marks ka
5:You are given the task of laying down new railway line
between Peshawar and Karachi. There are n intermediate cities that can be used
and you know the cost of laying track between any pair of these cities. Your
goal is to spend the least total amount of track to construct the railway line.
How would you determine the least amount of track and the cities to go through?
Name the best algorithm which addresses the above problem.
Comments
Post a Comment
Please give us your feedback & help us to improve this site.