ID Analytics interview question

Write a function on the whiteboard to implement neural networks