📕 FREE Guide2025 Quant Firm Tier List

Citadel Interview Question

CitadelSoftware Engineer Interview

The task is to find the longest contiguous subarray of user events where the frequency of the most frequent user in that subarray equals the minimum frequency of any user in the entire event log. Given event logs, the function calculates this maximum length of consistent logs efficiently.

Unlock the Full Solution

Enter your email to get instant access to the complete solution, explanation, and similar practice problems.

Want to ace more quant interviews?

Get access to our comprehensive interview preparation course with hundreds of real interview questions, detailed solutions, and personalized mentorship from quants at top firms.

Start Your Prep Today