Socket
Book a DemoInstallSign in
Socket

comp-sci-maths-lib

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comp-sci-maths-lib

Collection of Algorithms and Data Structures Learnt During Secondary Education in Computer Science and Maths

latest
npmnpm
Version
10.3.0
Version published
Weekly downloads
16
433.33%
Maintainers
1
Weekly downloads
 
Created
Source

Algorithms

This contains implementations of all the algorithms required by the OCR A Level Computer Science Specification

Sorting Algorithms

  • Bubble Sort
  • Insertion Sort
  • Merge Sort
  • Quick Sort

Searching Algorithms

  • Linear Search
  • Binary Search

Routing Algorithms

  • Dijkstra's Shortest Path
  • A* Algorithm

Graph Traversal

  • Binary Trees: In Order, Pre Order, Post Order
  • Graphs: Depth First, Breadth First

Maths

It also guest stars some algorithms from Secondary Maths

  • Sieve of Eratosthenes (Prime Number generation)

Spec Contents for 2.3.1 Algorithms

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).

FAQs

Package last updated on 29 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts