Maximize a Digit Subsequence with Even Counts of Ones and Twos
Company: DRW
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: hard
Interview Round: HR Screen
Overview: Delete digits while preserving order to maximize a number whose counts of both ones and twos are even, with linear-time handling of long strings.
Read the full DRW Software Engineer interview experience this question came from