Hard Game
CodeChefOpen on judge ↗
Sudhu and Muru are playing a game. It is as follows: Given a string $S$ they have to classify the string as either $EASY$ or $HARD$ by performing the following operations: 1) Remove any number of characters from the string 2) Rearrange the string in anyway Sudhu tried to form the word $EASY$ from the string whereas Muru tried to form the word $HARD$. *They classified the problem $HARD$ if the n
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