CS 415, Section 001 | Sonoma State University | Spring, 2023 |
Algorithm Analysis
|
||
Instructor: Henry M. Walker
Lecturer, Sonoma State University |
Although much of this course is well developed, some details can be
expected to evolve as the semester progresses.
Any changes in course details will be announced promptly during class.
Consider the terms, "Class P", "Class NP", tractable, and intractable.
Give careful definitions of each of these terms.
One approach for sorting an array of n elements is to generate all n! permutations of the elements and then each is examined to determine which permutation is ordered.
Consider a breadth-first or a depth-first traversal of a directed graph with n vertices.
Identify 3 problems in Class P, and explain why each is in Class P.
Use the definition of Class NP to explain why each of the following problems is in Class NP.
created April 25, 2022 revised April 25, 2022 revised July 25, 2022 revised December 31, 2022 revised April 24, 2023 |
![]() ![]() |
For more information, please contact Henry M. Walker at walker@cs.grinnell.edu. |