Spotify interview question

Explain MITM and how to prevent it. Authenticated encryption algorithms. Two easy Leetcode-like problems.