- [Instructor] The next functional programming challenge … we're going to tackle in this course, … is the problem of finding anagrams for a given word. … Now if you don't know what anagrams are, … they're two or more words that have the exact same letters … and number of letters. … For example, iceman, cinema, and anemic. … Each of these has one a, one n, one e, one m, one I, … and one c. … So your challenge is to write the body of this function … that takes a word as an argument, … and finds all the anagrams for that words … in the second argument here. … This second argument will be an array … of all the words in our dictionary. … Now before you start this challenge, … note that we're importing something up top here. … This is an npm package that exports an array … of all the words in the English language. … So in other words, … it's a really big array of strings. … And before we can do anything, … we have to install this package. … So just open up a terminal inside your directory, …
- The goal of functional programming
- Declarative vs. imperative programming
- Ensuring immutability
- Arrow functions in ES6
- Passing functions as arguments
- Mapping, filtering, slicing, sorting, and reducing
- Advanced functional concepts, including recursion
Skill Level Intermediate
1. Introductory Functional Concepts
2. First-Class Functions
4. Advanced Functional Concepts
5. Code Conversion Challenges
Next steps1m 10s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.