Machine Coding

Polyfills, utilities, async helpers and UI components — built live, step by step, the way the round is scored.

28 chapters

  1. 01How to Approach the Machine Coding Round
  2. 02Polyfill: call, apply and bindhigh-yield
  3. 03Polyfill: forEach, map and filterhigh-yield
  4. 04Polyfill: reduce and reduceRighthigh-yield
  5. 05Polyfill: find, findIndex, findLast, findLastIndex, some and every
  6. 06Polyfill: includes and indexOf
  7. 07Polyfill: Array.flat
  8. 08Polyfill: Promisehigh-yield
  9. 09Polyfill: Promise.all, allSettled, race and anyhigh-yield
  10. 10Polyfill: Object.assign and Object.create
  11. 11Polyfill: the new operator and instanceof
  12. 12Debouncehigh-yield
  13. 13Throttlehigh-yield
  14. 14Deep Clonehigh-yield
  15. 15Deep Equal
  16. 16Curryhigh-yield
  17. 17Memoize
  18. 18Event Emitterhigh-yield
  19. 19Retry with Exponential Backoffhigh-yield
  20. 20Promise Pool (Concurrency Limit)high-yield
  21. 21Async Task Queue with Pause and Resume
  22. 22Sleep and Timeout Wrappers
  23. 23Autocomplete / Typeaheadhigh-yield
  24. 24Infinite Scrollhigh-yield
  25. 25Star Rating
  26. 26Nested File Treehigh-yield
  27. 27Accessible Tabs and Accordion
  28. 28Toast Notification Systemhigh-yield