Application of Breadth First Search
Shortest path for an unweighted graph
Application of Depth First Search
Generating a Maze
Application of Pre-Order
Copying a tree
Application of In-Order
Binary Search tree outputting contents in ascending order
Application of Post-Order
Infix to RPN conversion
Time Complexity of Linear Search
O(n)
Time complexity of Binary Search
O(logn)
Time complexity of Binary Tree Search
O(logn)
Time complexity of bubble sort
O(n^2)
Time complexity of Merge Sort
O(nlogn)
What is an algorithm
A sequence of steps that can be followed to complete a task and that always terminates
What is representational abstraction
What is generalisation or catorgerism abstraction
What is automation
How is automation achieved (4)*
RegEx *
0 or more repititions
RegEx +
1 or more repititions
RegEx ?
0 or 1 repititions
What is a regular language
A language that can be represented by RegEx
Why can BNF represent some languages RegEx cant
How many permutations for n distinct objects
n!
What is a tractable problem
What is a intractable problem
When are Heuristic Methods used