Solutions to Kattis problems