+ 21
🔢Challenge :- Find Nth Term🎓
Find Nth Term You have an infinite series which has only two elements S and L like this (dedicated to SL platform..😉) ["S", "L", "SS", "SL", "LS", "LL", "SSS", "SSL", "SLS", "SLL", "LSS","LSL","LLS","LLL","SSSS","SSSL",.......] Your task is to find out Nth term of the series by taking N as an Input Examples :- 5 : LS 10 : SLL 100 : LSSLSL 1000 : LLLLSLSSL 150150150 : SSSLLLLSSLLSSSLLLSSSSSSSLLL
14 Respuestas
+ 27
edit : thnx ☺ 4 best answer mark
https://code.sololearn.com/cShYxjjWyC8R/?ref=app
+ 22
For Marta 😉
https://code.sololearn.com/c1FFvqt751uS/?ref=app
+ 9
https://code.sololearn.com/cTAGG3xkj17c/?ref=app
+ 7
Nice challenge 😁
https://code.sololearn.com/cTP6zlR6xz8Y/#py
+ 5
Hey Zoetic!
To start, nice challenge! There is now a section in the lessons for challenges like these which you can submit via the lesson factory. I think they are trying to push for these types of challenges to move more towards the lesson section, just so that the Q&A section is only for questions and answers. So if you want, you could try submitting this challenge as an assignment in the lesson factory so that it just goes to a section dedicated to these types of posts.
Thanks! d:
+ 5
@Faisal Yes brother, Thanks for the suggestion. I already submitted the question to that section. But you know there will be lots of questions like this people are posting in that section and still waiting for approval...
I am used to solve challanges in sololearn on daily basis, but from last 1 or 2 week i have seen no challanges of some nice level, i was bored so I thought let's start posting it, atleast it will satisfy me. But if it is officially a spam, I'll not put it again.
+ 5
Oh that’s fun!!! 🎉 Looks like alternative binary notation ))) I did truly enjoy it: https://code.sololearn.com/cfO5Rqpqb5ZS/#java
And I wish I could see LukArToDo’s oneliner for this challenge )))
+ 5
https://code.sololearn.com/c6U3KppS7I9Q/?ref=app
i loved this challenge! hopefully my code works properly.
+ 4
Please submit challenges via the lesson-factory.
Thanks.
+ 3
@CipherFox I've submitted already, but not approved still...
thanks..
+ 2
+ 1
https://code.sololearn.com/cy65qX1ZWGMo/?ref=app
nice challenge!
0
this is string array,print the array by array[count+1] in N loop