Collection of Algorithms and Data Structures Learnt During Secondary Education in Computer Science and Maths
npm install comp-sci-maths-libThis contains implementations of all the algorithms required by the OCR A Level Computer Science Specification
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Linear Search
- Binary Search
- Dijkstra's Shortest Path
- A\* Algorithm
- Binary Trees: In Order, Pre Order, Post Order
- Graphs: Depth First, Breadth First
It also guest stars some algorithms from Secondary Maths
- Sieve of Eratosthenes (Prime Number generation)
Algorithms for the main data structures, (stacks,
queues, trees, linked lists, depth-first (post-order)
and breadth-first traversal of trees).
Standard algorithms (bubble sort, insertion sort,
merge sort, quick sort, Dijkstra’s shortest path algorithm, A\* algorithm, binary search and linear search).