Important
You might solve the problems by yourself first before looking at the solutions. It is a good practice to solve the problems by yourself. If you are stuck, you can look at the solutions for hints. But do not copy the solutions directly. Try to understand the solutions and write the code by yourself.