Exam 3: A: Algorithms
Exam 1: The Foundations: Logic and Proofs18 Questions
Exam 1: A: the Foundations: Logic and Proofs201 Questions
Exam 2: Basic Structures: Sets, Functions, Sequences, Sums, Matrices5 Questions
Exam 2: A: Basic Structures: Sets, Functions, Sequences, Sums, Matrices210 Questions
Exam 3: Algorithms8 Questions
Exam 3: A: Algorithms54 Questions
Exam 4: Number Theory and Cryptography10 Questions
Exam 4: A: Number Theory and Cryptography149 Questions
Exam 5: Induction and Recursion10 Questions
Exam 5: A: Induction and Recursion51 Questions
Exam 6: Counting14 Questions
Exam 6: A: Counting155 Questions
Exam 7: Discrete Probability9 Questions
Exam 7: A: Discrete Probability50 Questions
Exam 8: Advanced Counting Techniques16 Questions
Exam 8: A: Advanced Counting Techniques124 Questions
Exam 9: Relations13 Questions
Exam 9: A: Relations72 Questions
Exam 10: Graphs14 Questions
Exam 10: A: Graphs131 Questions
Exam 11: Trees13 Questions
Exam 11: A: Trees94 Questions
Exam 12: Boolean Algebra11 Questions
Exam 12: A: Boolean Algebra67 Questions
Exam 13: Modeling Computation14 Questions
Exam 13: A: Modeling Computation67 Questions
Exam 14: Mathematics Problem Set: Set Theory, Number Theory, Combinatorics, and Boolean Algebra29 Questions
Select questions type
find the best big-O function for the function. Choose your answer from among the following:
-
(Short Answer)
4.9/5
(30)
Arrange the following functions in a list so each is big-O of the next one in the list:
(Short Answer)
4.7/5
(35)
Arrange the following functions in a list so each is big-O of the next one in the list:
(Short Answer)
4.9/5
(25)
Describe an algorithm that takes a list of integers a1, a2, . . . , an
and finds the second-largest integer in the sequence by going through the list and keeping track of the largest and second-largest integer encountered.

(Essay)
4.8/5
(35)
find the best big-O function for the function. Choose your answer from among the following:
-
(Short Answer)
5.0/5
(39)
find the "best" big-O notation to describe the complexity of the algorithm. Choose your answers from the following:
-A linear search to find the smallest number in a list of n numbers.
(Short Answer)
4.9/5
(41)
find the "best" big-O notation to describe the complexity of the algorithm. Choose your answers from the following:
-An algorithm that lists all ways to put the numbers 1, 2, 3, . . . , n in a row.
(Short Answer)
4.9/5
(39)
find the best big-O function for the function. Choose your answer from among the following:
-
(Short Answer)
4.8/5
(33)
Express a brute-force algorithm that finds the second largest element in a list a1, a2, . . . , an of distinct integers by finding the largest element, placing it at the beginning of the sequence, then finding the largest element of the remaining sequence.
(Essay)
4.7/5
(33)
find the "best" big-O notation to describe the complexity of the algorithm. Choose your answers from the following:
-The number of print statements in the following:

(Short Answer)
4.8/5
(37)
Find all pairs of functions in this list that are of the same order:
(Short Answer)
4.9/5
(31)
Prove or disprove that the cashier's algorithm for making change always uses the fewest coins possible when the denominations available are pennies (1-cent coins), nickels (5-cent coins), and quarters (25-cent coins).
(True/False)
4.9/5
(27)
find the best big-O function for the function. Choose your answer from among the following:
-
(Short Answer)
4.8/5
(25)
assume that the number of multiplications of entries used to multiply a p × q and a q × r matrix is pqr.
-What is the most efficient way to multiply the matrices A1, A2, A3 of sizes 20 × 5, 5 × 50, 50 × 5?
(Short Answer)
4.9/5
(40)
Showing 21 - 40 of 54
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)