I like asking a refactoring &#x2F; functional programming question in JavaScript like this one <a href="http:&#x2F;&#x2F;glebbahmutov.com&#x2F;blog&#x2F;functional-js-interview-question&#x2F;" rel="nofollow">http:&#x2F;&#x2F;glebbahmutov.com&#x2F;blog&#x2F;functional-js-interview-questio...</a> trying to make the candidate work through several small steps. At each step (step itself is pretty simple) I am looking for clarity and the candidate being able to explain the logic and the solution.