Tectoro interview question

Basic JavaScript problem solving questions