(upbeat music) … - [Instructor] So I'm going to show you how I solved … this find anagrams challenge. … The way that I thought about it is this. … When we have two words that are anagrams, … that means that they have the exact same count … of the exact same letters, but in different orders. … So if order doesn't matter, … then it might make sense for us … to express our words like this. … As an object that contains each of the letters … that the word contains, … with a count of how many letters it has. … So for the word cinema for example, … it would look like this … we have one c, one i, … one n, one e, … one m and one a. … We could then do the same with all of the other words … and check to see if they have the same sort of signature, … the same count of each of their letters. … So for instance if we formed this same kind of object … with the other words, iceman and anemic … which are anagrams of cinema … we would get two objects … where all of the properties would be equal. … Now those of you who completed the last challenge …
- 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.