Count and Say
Medium📝 Description
Generate the count-and-say sequence
Input Format
Integer n
Output Format
nth term of count-and-say sequence
Constraints
1 ≤ n ≤ 30
🔍 Sample Input
4
✅ Sample Output
"1211"
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run