Vocabulary
DSA
Problem
100

Set of instructions designed to solve a problem

What is an algorithm?

100

Shrimpcat wants a simple container to be able to store more than one item

What is an array? (Vector, map, set, and similar are also acceptable)

100

Turtlecat has an unsorted set of numbers. He wants to check if it contains the number 34. (Don't over-complicate this)

What is complete search?

200

Term used for a negative or positive whole number. (Note: by definition, whole numbers cannot be positive. This is describing the negated version)

What is an integer? (long or similar also accepted)

200

Shrimpcat wants to store pairs of {string, integer}

What is a map?

200

Turtlecat has several contests he wants to participate in and wants to schedule them during his day. Each contest has a start end end time. Turtlecat wants to know how to arrange these contests to be able to participate in as many as possible

What is interval scheduling? (Sort by end)

300

A sequence derived of another from the deletion of 0 or more elements without rearrangement of order

What is a subsequence?

300

Shrimpcat wants to easily add undirected edges to a graph and determine which nodes are connected to which

Disjoint set data structure

300

Turtlecat wants to go to the store. His town is a directed graph with unweighted edges. Help him find the shortest path to the store

What is BFS?

400

Node of a tree with no children

What is a leaf?

400

Shrimpcat wants to find the minimal subset of edges with the minimal sum of weights in an undirected connected graph that allow it to remain connected even if these are the only edges in the graph.

What is Kruskal's (or Prim's) algorithm?

400

Turtlecat works in a turtle shell shop. He sells a turtle shell to Corncat and must give him his change. Turtlecat likes his coins so he wants to use as few as possible.

What is the coin change problem?

500

Two ways of performing DP. Include details

What are top-down/memoization and bottom up/tabulation DP techniques?

500

Shrimpcat wants to be able to be able to iterate through all subsets of a set

What is bitmask brute force?

500

Turtlecat wants to go to the store. His town is a directed graph with weighted edges. Help him find the shortest path to the store

Why wasn't it a Dijkstra?

M
e
n
u