Monica And Her Dictionary
CodeChefOpen on judge ↗
Monica always wants to compete with others and prove herself better than others. So she prepares a mini dictionary for every word she is given and she wants to know how many possible words are there after that given particular word. She likes if the letters are not repeated in a word. Suppose she is given a word s containing letters (s0,s1,s2..), she performs all the possible combinations of let
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