These solutions are intended for learning and review purposes. If you're preparing for your own practice, try solving the problems yourself before checking the code!