Govind Ganeriwal

May 10, 2025 • 3 min read

Recently did a Job switch and curated a repo for most of the things that i was asked

80+ Frontend Interview Questions From My Real-Life Job Hunt (Machine Coding, JS, Polyfills & More)

Recently did a Job switch and curated a repo for most of the things that i was asked

important context

recently made a job switch and joined a high growth stage startup! so do have a recent experience on the job market and the way interviews are going on

hey everyone 👋

i know the job market's been pretty rough lately. i recently joined a new growth-stage startup as an SDE (frontend), and before that i went through back-to-back interviews — gave rounds at 12+ companies, got selected in 5, ended with 4 offers and picked one! one thing that really helped me crack most of these apart from great projeects and portfolio was having solid fundamentals and being able to confidently solve live machine coding rounds.

so i decided to do my bit and open source this one repo where i’ve curated almost all the types of problems i got asked in interviews — especially js and machine coding stuff (mostly round 1 or 2). not theory crap, but actual real-world style questions people asked me live.

> 🎯 To help out others grinding through the same process, I’ve made this repo open source:

> Repo link

> If this helps even one person crack their next interview, I’d consider it as an absolute win 🙌

✅ What’s Inside?

This repo focuses on deep practical understanding of frontend interviews – not just surface-level notes. Here's what you'll find:

🔧 Machine Coding Problems src/pages/machine-coding)

You’ll find working solutions for:

* Nested comments like Reddit, Nested checkbox where cheecking parent, should check the children as well, and vice versa

* Autocomplete on API, Reciepe auto complete with caching and debouncing, or special characters

* File Upload with mouse drag/drop

* Memory Game, Tic Tac Toe

* Infinite Scrolling (interview-level)

* OTP, Tabs, Accordion, LRU Cache, Stepper, Pagination (withh pre fetching), vs-code like file tree with CRUD, and more

🧠 Polyfills You’ll Actually Be Asked src/pollyfills)

* Array.prototype.map, filter, reduce, flat, includes, some, etc.

* Promise.allSettled, Promise.race

* Custom hooks like useMemo

🔍 Algorithms for Interviews src/problem-solving/algos)

* LRU Cache (standalone)

* Binary Search, Trie, BFS, DFS (was asked basic trie with auto complete when working with large data set)

* Sliding Window, 2 Pointers

* Quick Sort and more

⚙️ Core JS Concepts src/problem-solving/general-problem-solving/objects)

* Deep clone an object

* Check deep equality between two objects

* Debounce and Throttle and making hooks on them

📷 Screenshots of What You’ll Build

Just a few of the many components and UI problems you'll see solved:

Nested checkbox where checking parent, should check the children as well, and vice versa

Recipe auto complete with caching and debouncing

Selectable grid, with mouse events in place

auto complete on specific characters and bank names, trigger auto complete after "@" on UPI handles suggesting bank names

auto complete with tab support where we show a suggestion first (grayed out) and on click of tab complete it

Infinite scrolling

LRU caching

VS-code like file tree with CRUD

🫶 Final Thought

I’ve put in serious time building this repo, while juggling interviews and work. This is not a copy-paste dump — it’s a polished, structured collection of what actually matters in real interviews. (i was legit asked so many of these)

If you found it helpful, drop a ⭐ on the repo and feel free to connect with me on Twitter

Repo link, do star it ⭐️

Good luck to everyone preparing let's win 💪❤️

Join Govind on Peerlist!

Join amazing folks like Govind and thousands of other people in tech.

Create Profile

Join with Govind’s personal invite link.

1

24

4