📕 FREE Guide2025 Quant Firm Tier List

Citadel Interview Question

CitadelQuantitative Researcher Interview

Algorithm: given an array of numbers: 1,5,3,2,4,2,3,1,2,3,2,4. Return another array with duplicate numbers in consecutive positions and in order of their first appearance, in the example the result should be: 1,1,5,3,3,3,2,2,2,2,4,4

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