JavaScript Coding Interview: Hashing, Pointers, and Windows

Bartosz Zaczyński 24 Lessons 3h 15m Updated intermediate career

Coding interviews test how you think through a problem: how you clarify it, pick an approach, write the code, and explain what it costs. That skill matters even more now that AI writes a lot of code, because someone still has to judge whether the code is correct and fast enough. That someone is you.

In this course, you’ll practice three patterns that come up again and again in array and string problems:

  • Hashing with Map and Set, to remember what you’ve already seen instead of scanning for it again
  • Two pointers, to walk sorted or mirrored data from both ends, or two inputs side by side
  • Sliding windows, to update a running answer as a contiguous stretch moves through the data

Every problem is set in a realistic web-app scenario and runs in your browser on Node 26. Your first goal is a working solution. Then a bonus test plays the interviewer’s follow-up and checks whether your solution still holds up at scale. Along the way, you’ll review AI-written code with hidden bugs, test your pattern spotting in a quiz, and finish with a mock interview scored on communication, problem solving, code quality, and testing.

What’s Included:

  • 24 Lessons
  • Video Subtitles and Full Transcripts
  • Translated Subtitles in 8 Languages
  • 2 Downloadable Resources
  • Interactive Quiz to Check Your Progress
  • 13 Hands-On Coding Exercises
  • Q&A With JavaScript Experts: Ask a Question
  • Certificate of Completion

Downloadable Resources:

Related Learning Paths:

About Bartosz Zaczyński

Bartosz is an experienced software engineer and programming educator with an M.Sc. in Applied Computer Science.

» More about Bartosz

Each tutorial at RealJS is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

← Browse All Courses