Time Complexity
USACO Knowledge
Data Structures
Ms. Khan
CCC Officers
100

What is the quickest time complexity

O(1)

100

Who is the farmer at USACO?

Farmer John

100

What is the most basic type of data structure that stores a fixed-size sequence of elements in order?

Array

100

How many children does Ms. Khan have?

1

100

What college is Savi is going to?

UPenn

200

What is the time complexity of binary search in a sorted array?

O(logN)

200

What are the USACO divisions

bronze, silver, gold, plat

200

What's a data structure that doesn't allow for repeats

Set/Map

200

Who is Hadi Khan?

Ms. Khan's son.

200

What college is Tanay going to?

UIUC

300

What is the time complexity of adding to the front of an array

O(N)

300
If you full score one problem in a competition how many points do you get

333.33 (333 is also ok)

300

What data structure acts like the McDonald's line?

Queue

300

What does Ms. Khan like more? Coffee or Tea? 

Tea

300

List at least one nickname Savitur goes by.

TJRC King, Savi, Mr. Nonch, UPenn

400

What is the time complexity of dijkstra's algorithm?

O(NlogN)

400

What is the lowest ever silver cutoff?

650

400

In a binary tree, each node can have how many different possible numbers of children?

3 (0, 1, or 2)

400

Where did Ms. Khan go for her 25th anniversary with her family?

The Maldives

400

Who is the Belle of the Ball?

Anabelle Lee

500

You write a triple-nested loop. The outer loop runs n times, the middle runs log n times, and the inner loop runs √n times. Inside the innermost loop is a function that runs in O(n log n) time. What’s the overall time complexity?

O(n²√n log²n)

500

Who is Farmer John's arch nemesis?

Farmer Nhoj

500

What data structure do programming languages use to keep track of recursive calls?

Stack

500

What was Sashwat's APCS A score?

2

500

What's Anvay's favorite fruit? 

Grapes

M
e
n
u