Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 14 pages
Exam (elaborations)

WGU C949 Data Structures and Algorithms

Document preview thumbnail
Preview 2 out of 14 pages

WGU C949 Data Structures and Algorithms

Content preview

WGU C949 STRUCTURES
AND ALGORITHMS
[Document subtitle]




[DATE]
[COMPANY NAME]
[Company address]

, Certainly! Here are all the questions numbered along with their answers:



1. A function whose cost scales linearly with the size of the input

**O(n)**



2. Iterating over a collection of data once often indicates an ______ algorithm. (alphabet for-
loop example)

**O(n)**



3. A function whose cost scales logarithmically with the input size

**O(log n)**



4. Which type of function works by breaking down large problem into smaller and smaller
chunks?

**O(log n)**



5. As the size of the input grows, the cost of the algorithm does not increase at the same
rate. The overall cost of performing an operation on 1,000,000 items is only twice that of
performing the operation on 1,000 items.

**O(log n)**



6. A function that exhibits quadratic growth relative to the input size

**O(n^2)**



7. An example of this type of function is doubly nested loop

**O(n^2)**



8. Which type of function gets really expensive really quickly?

**O(n^2)**

Document information

Uploaded on
January 29, 2026
Number of pages
14
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$23.69

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

Sold
0
Followers
0
Items
173
Last sold
-



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