It's a good thing we learned about trees and search algorithms in the previous video, because sometimes they can be applied in unexpected places! We use a recursive function to implement an efficient depth-first search algorithm.
Where can I find the code?
❤ https://github.com/JStheGame/AdventOfCode2020/blob/main/day8.js
What's advent of code?
❤ it's an exciting annual event that offers fresh coding challenges for each day of December up to the 25th
❤ here's their website: https://adventofcode.com/2020
What's functional JavaScript?
❤ JavaScript is a popular programming language, originally used for making websites
❤ functional programming is a paradigm in which everything is a function, values are never re-assigned, and functions have no side effects
❤ functional JavaScript isn't a special language; it's just JavaScript code that's been written to follow the functional programming paradigm
Questions, comments, concerns?
❤ comment below :)
Music by https://soundcloud.com/zer0vector
Remember to believe in yourself
anything is possible