Epic interview question

[Insert medium difficult math question]