exam recall Qs

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards
term image

Each parent node has at most two child nodes.

It must have a root node

2
New cards
term image

It has a polynomial or better time complexity

3
New cards
term image

O(log n)

Every comparison halves the size of the binary tree to look at

4
New cards
term image

Rules about the problem domain that can be used to find a good approximate but not optimal solution to a problem

5
New cards
term image

As the size of the input increases the amount of time taken remains the same

6
New cards
term image

The number of elements in a set

7
New cards
term image

A Turing machine that can execute the behaviour of any other Turing machine

Can compute any computable sequence

8
New cards
term image

It has an infinite amount of memory

9
New cards
term image

Check the queue is not already empty.

Compare the value of the front pointer with the maximum size of the array

If equal then front pointer becomes 1

Otherwise add one to the front pointer

10
New cards
term image

Static data structures have storage size determined at compile time.

Dynamic data structures can grow and shrink during execution.

Dynamic data structures