
CS 502 Fundamental of Algorithms
Assignment # 05
Spring 2012 Total Marks = 20
Deadline
Your๎assignment๎must๎be๎uploaded๎/๎submitted๎before๎or๎on๎July 04, 2012
Upload Instructions
Please๎view๎the๎assignment๎submission๎process๎document๎provided๎to๎you๎by๎the๎
Virtual๎University.๎
๎
Rules for Marking
Please๎note๎that๎your๎assignment๎will๎not๎be๎graded๎if:๎
โข It๎is๎submitted๎after๎due๎date๎
โข The๎file๎you๎uploaded๎does๎not๎open๎
โข The๎file๎you๎uploaded๎is๎copied๎from๎someone๎else๎or๎from๎internet๎
โข It๎is๎in๎some๎format๎other๎than๎.doc
Note: Material that is an exact copy from handouts or internet would be graded
Zero marks. Your solution should consist of the material found through
different sources and written in your own words.
Assignment Statements:
Question:
Suppose that all edge weights in a graph are integers in the
range from 1 to |V|. How fast can you make Kruskal's
algorithm run? What if the edge weights are integers in the
range from 1 to W for some constant W?
Note:
To solve this question, you are requested to read Kruskal's algorithm form
your recommended book with listen the lecture carefully.