Cogito Group Interview Question

Coding question was the classic FizzBuzz