Practice Standard Algorithms Flashcards

1
Q

Standard Binary Search implementation returning a boolean.

A
  • recursive or iterative
  • pointers
  • mid (length - start) / 2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Binary search tree construction and methods

Add, contains, delete

A

Code

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

Traverse BST DEPTH first.

Post-, in - , pre - order

A

Code

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

Traverse BST breadth first.

A

Code

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