This is a post about my personal interview preparation & experience with more than a dozen companies.
DISCLAIMER: I never prepared for JS specific interview, my goal was to land a backend role, but KARMA SUCKS :P
TODO: ADD MORE INFO HERE.
Javascript Info (Best and most trusted for JS stuff).
Akshay's js channel (Few videos are good, more on this later).
- Front-end optimization (check my blog)
- Polyfill for:
- Debounce (Akshay's video)
- Throttle (Akshay's video)
- Reduce (MDN)
- PROMISES & CALLBACKS (VIP)
- undefined vs null
- call, apply. bind
- "this", arrow function
- strict mode
- dom modification with js
- event bubbling and capturing
- currying
- inheritance using functions (check my blog)
- Garbage collector (Good To Know)
- cookie vs local storage vs session storage
- Hooks (what & why)
- Lifecycle
- Redux (basic)
- "Key" in rendering.
- functional vs class comp
- Implement "CSS sticky property with js" (I was allowed to google syntax :Sigh:)
- carousel
- Accordion
- A decent UI from mock-up, API call, and all stuff (limited time)
- lazy loading (surprisingly, smh I remembered the complete interaction observer boilerplate code.) :-)
- nested comment, something like Reddit (1.5 hrs) where a user can click on any comment and reply to it.
- At that time it was hard for me, I was able to lay down the complete logic showing and did UI for replying to comments but in end, it was ~80%. However, I got through the round :)
- Card shuffle, need to create a UI where on click: a deck of the card will be shuffled into 4 sets. It includes card shuffle and some logic that I am not able to recollect.
- FAILED, I found it difficult to code react in codepen (VS CODE made me dumb :P) and I was not able to collect my thoughts, may due to pressure (This was a BIG NAME) ¯\(ツ)/¯
- File tree, something like VS CODE file tree where you click on a folder and it will show (and hide) inner files.
- Design a Hackernews like of UI, explain state management.
YES I FACED DS-ALGO QUES IN HALF OF THE COMPANIES.
I prefer Leetcode for general interview prep.
No JS was harmed during any of my interviews (sorry, bye :P)