Stacks are used in this graph search algorithm
Depth First Search
post order
The key difference between arrays and arraylists
Arraylists can be changed!
Arushi's height (+- 1 inch acceptable)
What is 5'4
Merge Sort
O(NlogN)
An alphabetized collection with no duplicates
Treeset
Traversal which returns a sorted output on a binary search tree
What is in order?
How is Djikstra's algorithm different from normal BFS?
What are weighted edges?
Noah's high school sport
What is running/cross country/track?
What is T(N) = 2T(N/2)+O(1)?
What is a hashset?
Trees that can balance itself
What are red black trees?
what is .equals
What are
Arushi '23
Noah '25
Selection Sort in the Worst Case.
O(N²)
A map where the keys are vertices and values are sets of vertices they are connected to
What is an adjacency list?
Runtime to do a search on a NON BINARY SEARCH TREE
O(N)
Interface using CompareTo
Comparable
The amount of semesters Noah has TAed for, including this one
Impossible!
Two conditions required for a heap
What are the shape property (full) and heap property (all greater/less than prev)?
2 Typical Base Cases for Tree Recursion
What are leaves and null trees?
Runtime of the .length() method for a list of length M
O(1)
The name of Arushi's dance group
What is defining movement?