Solutions to Coderbyte challenges