Voleon Interview Question

Medium level but long question