← All problemsSign in

Chef, Chek And Game

Chef is very fond of playing tic-tac-toe. His best friend Chek who is very good at programming has built an android game for tic-tac-toe. Now Chek challenges Chef to defeat him. Chek has designed tic-tac-toe in a different way in order that his probability of winning game is high as compared to Chef. Chek has designed tic-tac-toe such that only last two chances are left (one for both) and curr

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