Chef’s Assignment Trouble 2
CodeChefOpen on judge ↗
Chef has started writing his defaulter assignments. He doesn't want to write the whole assignment so he skipped parts of it. Now he realised that he skipped too much and the content is too small. So, he decided to add some words in his assignment to make it look complete. He’ll ask you 3 types of queries: - 1 $X$ (Add the word $X$ in the assignment). - 2 (Get the **most occurred** word in t
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