SAY IT LOUD OUT<h1>
CodeChefOpen on judge ↗
You are given the following series: Hi 1, 11, 21, 1211, 111221, 312211, 13112221, 1113213211, ... We have to find nth term of the given series. HINT: Please read the title of the problem. HINT2: We are given first number as 1. We have to keep the nth number as we say the (n-1)th number ALOUD. Like for example, 1st number contains "one times one" so 2nd number is "11". 2nd number is 11 which
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