← All problemsSign in

STONE PICKER

A kid is playing with stones which are lying in front of him in a linear manner. Some of those stones are small in size and can easily be picked by the kid ( these are denoted by alphabets of English language a-z or A-Z) while some stones are either buried in the ground or too heavy for kid to lift ( these are denoted by the special symbols. For example @, #, $,%,* etc). The kid is playing a game

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