• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

EECS 281 || with Complete Solutions.

Document preview thumbnail
Preview 1 out of 3 pages

EECS 281 || with Complete Solutions.

Content preview

EECS 281 || with Complete Solutions.
Runtime Factors correct answers Algorithm, Implementation, CPU/Memory Speed,
Compiler, Parallel Programs, Input Size

Primitive Operations correct answers Variable assignment, arithmetic operation, comparison,
array indexing, pointer reference, function call , function return

Amortized Complexity correct answers Time of average step in a sequence

Tail recursion correct answers Recursion that reuses the stack frame

Binary Search Recurrence Equation correct answers T(n) = T(n/2) + c

Binary Search Complexity correct answers O(log n)

Sequential Search Recurrence Equation correct answers T(n) = T(n-1) + c

Sequential Search Complexity correct answers O(n)

Tree Traversal Recurrence Equation correct answers T(n) = 2*T(n/2) +c

Tree Traversal Complexity correct answers O(n)

Selection/etc. Sorts Recurrence Equation correct answers T(n) = T(n-1) +c*n + c

Selection/etc. Sorts Complexity correct answers O(n^2)

Merge/Quick Sorts Recurrence Equation correct answers T(n) = 2T(n/2)+c*n+c

Merge/Quick Sorts Complexity correct answers O(n log n)

When can you not use the Master Theorem? (3 ways) correct answers If T(n) is not
monotonic, if T(n) is not a polynomial, if b cannot be expressed as a constant

2D Array Index = correct answers row * num_columns + column

2D Column = correct answers index % num_columns

2D Row = correct answers index / num_columns

Container Class Operations correct answers Constructor, Destructor, Add, Remove,
GetElement, GetSize, Copy, Assignment

Big 3 correct answers Destructor, Copy, Operator

Arrays vs Linked Lists correct answers Arrays better for smaller data items, wastes memory
if too large, Arrays require reallocation if too small, Linked lists allocate memory as needed,
but require memory for pointers

Document information

Uploaded on
November 19, 2025
Number of pages
3
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$10.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SirAnton
3.7
(118)
Sold
808
Followers
438
Items
40068
Last sold
1 hour ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions