The professors Question
CodeChefOpen on judge ↗
Chanchal likes the reverse alphabets ordering. In order to test her skills , her professor gives a simple but tricky problem. The problem can be described as - "if the number of occurences of a character in a string matches its position in reverse alphabet ordering then print Yes else print No". As Chanchal is a smart girl she solved it in a matter of time but her solution's complexity is not as
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