StarLeaf Interview Question

Had to solve various programming challenges