Blog

Archive for the Algorithms Category


Functional Programming from Four Semesters of Computer Science in 5 Hours by Brian Holt
Posted on August 27, 2020 in Algorithms, JavaScript by Matt Jennings

Functional Programming Concepts

Avoid side effects, or keep functions pure.
Use Higher-Order Functions, which are functions that receives a function an as
Read more…


Implementing Data Structures from Four Semesters of Computer Science in 5 Hours by Brian Holt
Posted on August 26, 2020 in Algorithms, JavaScript by Matt Jennings

Array List (in Java, NOT JavaScript)

The ArrayList class extends AbstractList and implements the List interface. ArrayList supports dynamic arrays that
Read more…


Sets and Maps from Four Semesters of Computer Science in 5 Hours by Brian Holt
Posted on August 24, 2020 in Algorithms, JavaScript by Matt Jennings

Set

Set objects are collections of values. Sets are reference data types, like Arrays, and allow unique lists (ONLY unique values
Read more…


Sorting Algorithms from Four Semesters of Computer Science in 5 Hours by Brian Holt
Posted on August 18, 2020 in Algorithms, JavaScript by Matt Jennings

See the trekhleb / javascript-algorithms GitHub repo for JavaScript algorithms (including sorting algorithms) showing complexity, including
Read more…


Recursion from Four Semesters of Computer Science in 5 Hours by Brian Holt
Posted on August 5, 2020 in Algorithms, JavaScript by Matt Jennings

Recursive Function Definition

A recursive function is a function that calls itself until it doesn’t. And this technique is called recursion. 

Stack
Read more…

To Top ↑