← All problemsSign in

Tinder Dating

Tinder is a dating app that is trying out a new way of making people interact face to face. It allows its users to opt in to this new way of dating and maintains a list of the gender of the users who are willing to participate in the order they opt in. Assume we have males and females represented by $M$ and $F$ respectively. Now, to make the interaction as effective as possible, they want to divi

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start