Homework 10: Graphs part 1 Solution

$30.00 $24.00

Problems (15 pts) Exercise 22.1-5. (15 pts) Exercise 22.2-6. (15 pts) Exercise 22.2-7. (10 pts) Exercise 22.3-7. (10 pts) Exercise 22.3-10. (15 pts) Exercise 22.3-12. (20 pts) Exercise 22.4-5. (15 pts) Two special vertices s and t in the undirected graph G=(V,E) have the fol-lowing property: any path from s to t has at least…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Description

5/5 – (2 votes)

Problems

  1. (15 pts) Exercise 22.1-5.

  1. (15 pts) Exercise 22.2-6.

  1. (15 pts) Exercise 22.2-7.

  1. (10 pts) Exercise 22.3-7.

  1. (10 pts) Exercise 22.3-10.

  1. (15 pts) Exercise 22.3-12.

  1. (20 pts) Exercise 22.4-5.

  1. (15 pts) Two special vertices s and t in the undirected graph G=(V,E) have the fol-lowing property: any path from s to t has at least 1 + jV j=2 edges. Show that all paths from s to t must have a common vertex v (not equal to either s or t) and give an algorithm with running time O(V+E) to nd such a node v.

  1. (Extra credit 25) Problem 22-3.

  1. (Extra credit 25) Problem 22-4.

  1. (25 pts) Exercise 23.1-3.

  1. (25 pts) Exercise 23.2-2.

  1. (25 pts) Exercise 23.2-4.

  1. (25 pts) Exercise 23.2-5.

  1. (Extra credit 40 pts) Problem 23-1.

  1. (Extra credit 30 pts) Exercise 23.1-11.

  1. (Extra credit 30 pts) Write the code for Kruskal algorithm in a language of your choice. You will rst have to read on the disjoint sets datastructures and operations (Chapter 21 in the book) for an e cient implementation of Kruskal trees.

1

Homework 10: Graphs part 1 Solution
$30.00 $24.00