D2iQ Interview Question

start/finish the coding challenge.