Functional JavaScript

What is functional programming? Functional programming is a programming paradigm, a way in which computer programs and languages are structured. If you've ever taken any math classes, functional programming can be seen as programming with mathematical functions. The output of a function f(x) is based only on the arguments…

Breadth-First Search

Real world examples Graphs can be translated into real-world events with connections to computer science and without connections to computer science. Web crawling requires graphs and often times breadth-first searches. Social networks use graphs and graph traversal to map friends or connections. Garbage collection in higher level programming languages is…