DSA Problem Patterns Flashcards

(3 cards)

1
Q

Uniqueness is implemented through:
1. _
2. _

A
  1. Dictionary (hashmap)
  2. Set (hashtable)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Relate the output with input in terms of simple _ using structures like:
1. length
2. sum
3. set
4. sorted
4. stack

Think about what you can say deterministically about relation between input and output.

A

axioms/patterns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly