Hacker News new | ask | show | jobs
by justrossthings 3603 days ago
I'm a front-end dev going through the hiring process right now. Here's a list of some of the questions I have been asked in technical interviews: - What is a clojure? - What is a callback? - What is an IIFE? - How can you use scope to keep a copy of i in a loop? - What is going on when you click a link to go to a website? - Difference between classical inheritance vs prototypical - Difference between object-oriented programming vs functional - Knowing what 'this' is referencing at different points inside a function/class - Difference between <p>, <div> and <span> - Difference between css selectors: '.classA.classB', '.classA .classB', '.classA > .classB' - Difference between 'x is undefined' and 'x is not defined' error messages

Programming problems: - Calculating fibonacci numbers - Depth-first binary tree search - Turning a hashmap with multiple levels of embedded hashmaps inside-out - Handling API response data to create new objects - Creating a login form - Using media queries to make responsive pages - Determine if word is a palindrome - Using recursive functions

Knowing methods to reduce computation time and space with hashmaps and arrays is important. You will also be asked to state the computation time and space of your solutions

Framework-specific questions: - What is the difference between a component and a directive? (AngularJS) - What is the difference between a service and a directive? (AngularJS)

I'm sure there's more I've forgotten.

https://www.interviewcake.com/ and Hackerrank can prepare you for programming problems but outside of the giants you don't often get asked these.

1 comments

you meant closure ?
No he's from the UK. He meant clousure
lol man.
also "prototypal"