← All problemsSign in

Tic Tac Toe

Rahul and Ria are good friend of each other and always studied together. After a complete day online classes they get bored and decided to play tic tac toe game. They bet for a price and decide to play 5 matches to reach winning position. From both of them if Rahul won the bet he got a price from Ria and if Ria won the bet she got a price from Rahul. Every match could have ended either as a win

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