mobileforming interview question

Some easy coding challenges.