Class Notes: Applied Discrete Structures

Spring Semester 1999 - MWF 5th Period CSE/E222, Section 4617X

Instructor: M.S. Schmalz -- TAs: James Jeffers, Yasmeen Fatimah, Jang-Uk In, Arun Srinivasan, Jing Zhao


Quiz #3 -- Solution

Question 1. (5 points) Write pseudocode to find the smallest integer ai in a sequence [an].

Question 2. (5 points) Find the complexity of the following algorithm given a sequence of positive integers [an] containing elements ai, i = 1..n:


Copyright © 1999 by Mark S. Schmalz.