Synapse interview question

based on the final year project