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
Exam (elaborations)

DSA Flashcards Exam UPDATED ACTUAL QUESTIONS AND CORRECT ANSWERS

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
15-05-2026
Written in
2025/2026

DSA Flashcards Exam UPDATED ACTUAL QUESTIONS AND CORRECT ANSWERS What are the 4 simple rules to determine Big O of a function? - CORRECT ANSWER the worst casebr2 - Remove the constantsbr3 - Use different terms for multiple inputs (arguments of the function)br4 - Drop non dominants (keep only the worst case) List the common Big O complexities from worst to bestbr(there are 7) - CORRECT ANSWER 1 - Find O(n!)brO(2^n)brO(n^2)brO(n log n)brO(n)brO(log n)brO(1) What are the 3 pillars of programming? - CORRECT ANSWER (Space)brSpeed (Time) ReadabilitybrMemory What are 4 things that can affect space complexity? - CORRECT ANSWER StructuresbrFunction CallsbrAllocations VariablesbrData Space complexity is not concerned with the size of the input per se but the... - CORRECT ANSWER ...memory that is being allocated for each operation. What are the 2 pillars of Data Structures? - CORRECT ANSWER to use one How to build onebrHow What are the 6 operations you can do within a data structure? - CORRECT ANSWER InsertionbrDeletionbrTraversalbrSearchingbrSortingbrAccessing What is an algorithm? - CORRECT ANSWER Technically all functions are algorithms. Steps to complete a desired action in computers. Big O Complexity Chart: Flip Card - CORRECT ANSWER

Show more Read less
Institution
DSA
Course
DSA

Content preview

DSA Flashcards Exam UPDATED
ACTUAL QUESTIONS AND CORRECT
ANSWERS
What are the 4 simple rules to determine Big O of a function? - CORRECT ANSWER 1 - Find
the worst case<br>2 - Remove the constants<br>3 - Use different terms for multiple inputs
(arguments of the function)<br>4 - Drop non dominants (keep only the worst case)



List the common Big O complexities from worst to best<br>(there are 7) - CORRECT
ANSWER O(n!)<br>O(2^n)<br>O(n^2)<br>O(n log n)<br>O(n)<br>O(log n)<br>O(1)



What are the 3 pillars of programming? - CORRECT ANSWER Readability<br>Memory
(Space)<br>Speed (Time)



What are 4 things that can affect space complexity? - CORRECT ANSWER Variables<br>Data
Structures<br>Function Calls<br>Allocations



Space complexity is not concerned with the size of the input per se but the... - CORRECT
ANSWER ...memory that is being allocated for each operation.



What are the 2 pillars of Data Structures? - CORRECT ANSWER How to build one<br>How
to use one



What are the 6 operations you can do within a data structure? - CORRECT
ANSWER Insertion<br>Deletion<br>Traversal<br>Searching<br>Sorting<br>Accessing



What is an algorithm? - CORRECT ANSWER Steps to complete a desired action in computers.
Technically all functions are algorithms.



Big O Complexity Chart: Flip Card - CORRECT ANSWER



What is factorial time complexity? Would you recommend using it using this scale
[Excellent,Good,Fair,Bad,Horrible]? - CORRECT ANSWER O(n!) - Horrible

Written for

Institution
DSA
Course
DSA

Document information

Uploaded on
May 15, 2026
Number of pages
2
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.49
Get access to the full document:

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

Get to know the seller

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.
STANFORDTOPGRADES Stanford University
Follow You need to be logged in order to follow users or courses
Sold
56
Member since
1 year
Number of followers
2
Documents
7115
Last sold
1 day ago
TOPSELLER

Hi there! I'm dedicated to sharing my high-quality study guides and helpful EXAM Materials to make your learning easier and more efficient. All my materials are well-organized and tailored to help you ace your courses. I offer genuine and dependable exam papers that are directly obtained from well-known, reputable institutions as a highly regarded professional who specializes in sourcing study materials. Kindly don't hesitate to contact me, my study guides, notes and exams or test banks, are 100% graded and fully guaranteed

Read more Read less
3.8

8 reviews

5
3
4
1
3
3
2
1
1
0

Recently viewed by you

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