subject

1. true/false:
mark either t (true) or f (false) for each statement in below. write in one short sentence why you chose that answer, if necessary. you may lose points if your answer is very long.
a. adjacency lists are more space efficient than adjacency matrices for sparse graphs. a sparse graph g = (v, e) has |e| = o(|v|).
b. the maximum number of edges in a graph with n vertices is n (n +1) / 2 .
c. a spanning tree of a graph with n vertices contains n edges.
d. dijkstra’s algorithm does not work on directed graphs.
e. a dynamic programming algorithm makes short-sighted choices that are locally optimal.
f. dynamic programming is an appropriate choice to solve merge sort.
g. prim’s and kruskal’s algorithms are examples of greedy algorithms.
h. in a flow network, the capacity of an edge must be less than or equal to the flow on the edge.
i. dynamic programming uses memoization to avoid solving the same subproblem more than once.
j. choice of data structures do not impact the time complexity of graph algorithms.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
You need a reliable network for about twenty-five computers that will be distributed across a large building. it is important that the network be relatively cheap. which topology should you use?
Answers: 1
question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
The volume v and paper surface area a of a conical paper cup are given by where r is the radius of the base of the cone and h is the height of the cone. a. by eliminating h, obtain the expression for a as a function of r and v. b. create a user-de ned function that accepts r as the only argument and computes a for a given value of v. declare v to be global within the function. c. for v ! 10 in.3 , use the function with the fminbnd function to compute the value of r that minimizes the area a. what is the corresponding value of the height h? investigate the sensitivity of the solution by plotting v versus r. how much can r vary about its optimal value before the area increases 10 percent above its minimum value?
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
You know the right answer?
1. true/false:
mark either t (true) or f (false) for each statement in below. write in one s...
Questions
question
Mathematics, 23.11.2020 20:30
question
Health, 23.11.2020 20:30
question
Spanish, 23.11.2020 20:30
question
Mathematics, 23.11.2020 20:30
question
Mathematics, 23.11.2020 20:30
question
Mathematics, 23.11.2020 20:30
question
Mathematics, 23.11.2020 20:30
question
Arts, 23.11.2020 20:30
question
Mathematics, 23.11.2020 20:30