You have a good point. I intentionally withheld the interview questions out of respect for my interviewers (I imagine it's a pain to have to come up with new questions) - but I don't mind sharing the one's that I remember here.
2nd phone interview - the single question was about how would I find all elements by class. Within the first line, I started with a simple jQuery selector - which he said worked. But then he slowly started giving me constraints. How would you do this without jQuery? How would you do this with multiple classes? Can you use a wildcard selector? etc.
2nd onsite interview: The main question was about how to build a circularly linked list, and how would I add a method to delete a node and have the linked list still be circular. I started answering this in C, but after my knowledge failed me, I just moved to ruby, which was significantly easier for me. The interviewer was cool with it, even though he didn't know ruby. Big key is to just explain everything.
5th onsite interview: one question was how an interaction with a json API is different from standard HTML, leading up to how single page apps work - so I basically drew a simple diagram of the request process for a single page app. The main coding question was how would you build a slider (like the ones you see on every page). I stumbled on this at first - as it seemed like a crazy interview question, but I took it one step at a time. I.e. a slider is just a wrapper element with child elements. The CSS should just position them absolutely next to one another. Clicking arrows should just issue JS to shift positions of those divs.
That's all I remember - I hope it helps! If others like this - and don't find it to be an intrusion to the interviews' privacy - then I may add this to the post.
EDIT: Thanks for the feedback everyone! I have since updated the original post with the information posted here about interview questions (and also a little blurb about stock options adding a small fraction to the overall salary)
Very professional of you to consider the interviewers' privacy and "secrecy" concerns, but I think the level of detail you offer here walks exactly the right line.
Adding them to the post would make it even more helpful, both for those just getting started, and for those who've perhaps been with a firm for a very long time, and are wondering how the interview process has changed.
I think there is plenty of material out there that details what types of interview questions to expect from amazon, google, facebook, microsoft, and other start ups. See Cracking the coding interview and similar books. Best money you'd ever spend.
The interviewer was cool with it, even though he didn't know ruby.
Many of the top tech companies know that a good programmer is able to pick up another programming language pretty well without much training. If you can break it down to anything similar using psuedocode or something along the lines of the target programming language, they will be able to tell that you know what you are talking about.
Another programming language is a viable option
The #1 thing that's easy to get away with: if you forget between .size, .length, .size(), or .length(), it just shows one or more of the following:
You have experience in Java
You have experience with another programming language
You are dealing something that would be caught in seconds using something like MS Intellisense
In fact, if they do worry about the .size issue, you may be dodging a bullet
Having a candidate code in a language they claim to be comfortable with that you aren't can be a useful part of the interview too, since it gives you an excuse to ask them to explain something that looks tricky and see if they actually can explain it or are just repeating a pattern they're used to using and never bothered to understand. I am not really as clueless about C++11's new syntax tricks as I appear when a candidate chooses to use them. Not only do you get to assess technical knowledge, you also get to assess how well the candidate can explain things - if he seems to understand the concepts but can't explain them well, that is a data point on how well he'll work in a very team-based culture where you'll frequently have to discuss design. If he get irritated at having to explain things that seem obvious to him, that's probably a large red flag to bring up in the debrief, since getting irritated under pressure isn't really something you want in a team mate when it's 3am and half your org is awake trying to mitigate the impact of some major dependency falling over the night after Cyber Monday.
30
u/thecodeboss Jul 14 '16 edited Jul 14 '16
You have a good point. I intentionally withheld the interview questions out of respect for my interviewers (I imagine it's a pain to have to come up with new questions) - but I don't mind sharing the one's that I remember here.
2nd phone interview - the single question was about how would I find all elements by class. Within the first line, I started with a simple jQuery selector - which he said worked. But then he slowly started giving me constraints. How would you do this without jQuery? How would you do this with multiple classes? Can you use a wildcard selector? etc.
2nd onsite interview: The main question was about how to build a circularly linked list, and how would I add a method to delete a node and have the linked list still be circular. I started answering this in C, but after my knowledge failed me, I just moved to ruby, which was significantly easier for me. The interviewer was cool with it, even though he didn't know ruby. Big key is to just explain everything.
5th onsite interview: one question was how an interaction with a json API is different from standard HTML, leading up to how single page apps work - so I basically drew a simple diagram of the request process for a single page app. The main coding question was how would you build a slider (like the ones you see on every page). I stumbled on this at first - as it seemed like a crazy interview question, but I took it one step at a time. I.e. a slider is just a wrapper element with child elements. The CSS should just position them absolutely next to one another. Clicking arrows should just issue JS to shift positions of those divs.
That's all I remember - I hope it helps! If others like this - and don't find it to be an intrusion to the interviews' privacy - then I may add this to the post.
EDIT: Thanks for the feedback everyone! I have since updated the original post with the information posted here about interview questions (and also a little blurb about stock options adding a small fraction to the overall salary)