These are problems that I solved from various platforms such as uva.