Prog Paradigms and Data Structures Flashcards
Explain what is the asymptotic notation and why this is important.
In computer science, the asymptotic notation, represented by the Big O notation, is used to analyse the complexity of an algorithm according to the input size. It provides information about how long an algorithm will take to run in its worst-case scenario, considering a constantly growing input. This analysis can help the developer to predict how long an algorithm will take to run, helping to make better decisions concerning the algorithm design.
How linked lists work and why using pointers is important when implementing a linked list in C language.
Algorithm Design - Brute Force
Definition, Examples - Pros and Cons
Bubble Sort - Definition
Algorithm Design - Divide and Conquer
Definition, Examples and Diagram
Quick Sort - Definition
Merge Sort - Definition
Algorithm Design - Decrease and Conquer
Definition, Examples and Diagram
Binary Search - Definition
Selection Sort - Definition
Insertion Sort - Definition
Selection Sort x Insertion Sort
Algorithm Analyses - Give the 3 points and their definitions
Which algorithms tend to be less efficient and which tend to be more efficient?
Merge Sort - Memory Requirements and Stability
Quick Sort - Memory Requirements and Stability
Tim Sort - Definition and Steps
Big O - Complexities - provide the list of how it grows with their name, definition and examples
Bubble Sort - Big O Notation - Worst Case Scenario and Best Case Scenario
Quick Sort - Big O Notation - Worst Case Scenario and Best Case Scenario