Skip to the content

Part 6 of 25

Classic "Build It" Interview Utilities

Front end and full stack screening rounds very often say "build this from scratch, without libraries": your own map, a debounce function, a deep clone, an event emitter, an LRU cache, your own Promise.all. These tasks test closures, this, recursion, promises and clean code all at once. Every solution in this part has been run and tested. For each one, you get the task, what the interviewer is really checking, the questions to ask first, the solution built step by step, test cases, the cost in time and memory, and the follow-up questions you should expect. Practise each one until you can write it from a blank file without help.

Your progress

0%0 of 10 lessons complete

A lesson is complete when its quiz and all three practice levels are passed.

10 lessons in this part

  1. Lesson 76Your own map, filter and reduceNot started
  2. Lesson 77Your own bindNot started
  3. Lesson 78debounce and throttleNot started
  4. Lesson 79memoizeNot started
  5. Lesson 80Deep clone and deep equalNot started
  6. Lesson 81Flatten an array, and curryNot started
  7. Lesson 82EventEmitterNot started
  8. Lesson 83LRU cacheNot started
  9. Lesson 84Your own Promise.all, sleep and retryNot started
  10. Lesson 85Promise pool with a concurrency limitNot started