Pergunta de entrevista da empresa BJIT

Q:(Interview) Basic problem solving using JS (I had to use the concept of Hashmap). They will ask how to solve a given problem, not mandatory to write code.