Chef and Fingers
CodeChefOpen on judge ↗
Chef and Cook were challenging each other over some problems it was Chef's turn and he had to give a problem to Cook the problem goes as follows.... Chef tells cook to have a count on his fingers in the following way , $1$ for his thumb, $2$ for his index finger, $3$ for his middle finger, $4$ for his ring finger, $5$ for his little finger and then in reversed direction $6$ for his ring finger a
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.
Sign in to chat with the tutor and save your progress.
Sign in to start