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

3417
lafrimer•

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.

13
punkbastardo•

good article but a few of your links are broken

3
lafrimer•

I updated few link few months ago. I'll fix them again as soon as I am relatively free.

1
MagikarpicalOP•

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).

1
lafrimer•

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.

1
MagikarpicalOP•

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).

1
lafrimer•

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.

1
PUSH_AX•

I wrote a post a few years back where I interviewed with a whole bunch of companies, I documented every technical question they asked and put it in this thread. https://www.reddit.com/r/webdev/comments/3f7q3q/been_interviewing_with_a_lot_of_tech_startups_as/

8
fgutz•

I'm currently interviewing for senior full stack positions (with focus more in front end). I should document the questions and tests I've been given so far as well.

3
PUSH_AX•

Yeah for sure, I used to do a brain dump on my phone as soon as I left the interview, otherwise I would forget the questions.

1
bubble-june•

Whoa, this is amazing

1
GamesMint•

I have collated set of questions frequently asked in JavaScript interviews and created an app.

https://play.google.com/store/apps/details?id=gamesmint.com.jsone hope you find this useful.

5
FatFingerHelperBot•

It seems that your comment contains 1 or more links that are hard to tap for mobile users. I will extend those so they're easier for our sausage fingers to click!

Here is link number 1 - Previous text "I"


^Please ^PM ^/u/eganwall ^with ^issues ^or ^feedback! ^| ^Delete

4
falconmick•

what does bind do

1
TheBilTheory•

Similar question that also answer this one:

What is the difference between bind, apply & call?

3
falconmick•

yeah probably the better definition of that problem. I just fell in love with bind recently so It's all I think about.

2
gibbypoo•

>full stack dev

>not a front end dev

Pick one

1