interview question

Variations on Asynchronous Map

Variations on Asynchronous Map 150 150 Clark

One of my favorite ‘toy problems,’ often asked in technical interviews during a ‘screening’ phase, is to implement an asynchronous mapping function. This problem can be tricky because it tests your knowledge of asynchronicity and your ability to use callback functions. This knowledge is considered necessary for a web-application engineer…

read more

Balanced Parentheses and a Stack

Balanced Parentheses and a Stack 512 381 Clark

In early-screening technical interviews, the Balanced Parentheses question is quite popular. It goes something like this: Write a balancedParens function that takes a string as input and returns a boolean — if the parentheses in the input string are ‘balanced’, then return true, else return false You are given the…

read more

Higher-Order Functions and Function Binding

Higher-Order Functions and Function Binding 150 150 Clark

In technical interviews, it is common that the interviewer will throw in a question that tests your knowledge of higher-order functions and function-binding. If you are applying for a job as a JavaScript engineer, then you should expect an interview question in some similar form to the following: Write a…

read more