Written exam:
1) You are given the MNIST dataset. Design a pipeline to train a CNN classifier. Address to data preprocessing, CNN architecture, loss function etc.
2) You are given an infinite triangle made out of numbered nodes connected to each other. Write a function that receives nodes which are the triangle's vertices, and returns whether the the nodes form a valid triangle. A valid triangle is one where its edges coincide with the triangle's edges.