JavaScript programming interview questions?
hey all! i'm applying for a lot of 'full stack' roles, but full stack seems to mean front end but can edit services at a lot of companies. i'm not really prepared for js based coding interviews; does anyone know of repos/example questions that are good to practice with? i'm not a particularly strong front end developer, but i want to work on it.
Posted Jul 31, 2018, 2:01 AM UTC
I wrote answers to most frequently asked questions and topics n Medium few years ago. https://medium.com/p/1cbc5e32792b?source=linkShare-e582e8d48299-1533007537
You need to add es6 features to it, along with webpack, some detail on asynchronous/await and promises and should be good to go.
good article but a few of your links are broken
I updated few link few months ago. I'll fix them again as soon as I am relatively free.
did you not get programming questions? everyone wants me to do things like re-implement the dom api, JSON.Parse(), or implement small components (ie a progress bar that updates periodically, get rid of orphaned words in a paragraph, traverse json in a dom tree and return the items that match a given class).
Hi, yes I did. There was a github repo, that had these questions that are asked in general, apart from the given programming questions. These tasks measure your coding ability, and how you deal with a problem and your thinking process. The article deals with more general JS questions, and brushing up the concepts.
do you have any examples of those? i'm finding it hard to find coding problems (but quite easy to find lists of domain knowledge to memorize).
Most of the companies have different problem sets, which they periodically keep updating. When I give problem sets, I modify the problem to suit the candidate based on work exp or skillset.
The ones you've mentioned are generic questions. Apart from that, FreeCodeCamp's 30-day challenge could be another one where you could practice more problems, and enhance them as per need. If I had to practise for interviews, I'd divide them into few categories: - API implementation(with recursion), framework implementation(basic v-dom, basic diffing), JSON manipulation, Polyfill for latest features like asyn await/Promises, common widgets like autocomplete, todo list, infinite scroll, progress bar, design patterns(same component with different patterns). Most of the times, the problem completion is not a criterion, rather how well you approached it.