Linear Binary etc test prep

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/13

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.

14 Terms

1
New cards

Linear Search

A search algorithm that searches every item in a list.

2
New cards

Worst Case Scenario of Linear Search

The worst case scenario is the number of items in the list.

3
New cards

Binary Search

A search algorithm that requires all items to be sorted.

4
New cards

Worst Case Scenario of Binary Search

Keep cutting the list in half until you can't.

5
New cards

Run Time Efficient

A measure indicating that the computational time is manageable based on the number of inputs.

6
New cards

n (in algorithms)

Represents the number of inputs.

7
New cards

Efficiency of algorithms with n² or n³

Algorithms with n² or n³ complexities are considered run time efficient.

8
New cards

Inefficiency of algorithms with 2^n

Algorithms with a complexity of 2^n are not run time efficient.

9
New cards

Inefficiency of algorithms with n!

Algorithms with a complexity of n! are not run time efficient and would require a heuristic.

10
New cards

Heuristic

A method that provides a 'good enough' solution to a problem when an exact solution is impractical or impossible.

11
New cards

Sequential Computing

A computing process where programs run in order, one command at a time.

12
New cards

Parallel Computing

A computing method where programs are broken into smaller pieces that can run simultaneously.

13
New cards

Execution time in Parallel Computing

Execution time is optimized when the workload of processors is as close to equal as possible.

14
New cards

Undecidable Problem

A problem for which no algorithm can be constructed that always provides a correct yes-or-no answer.