+ 5
[CHALLENGE]...[easy] staircase of numbers
make a staircase like this 1 11 121 1331 14641 15101051 well it doesnt look like staircase though :) i got ZERO for my exam because of this question.. but now a already figured it out
11 Réponses
+ 19
Slightly modifying this code will give you what you want.
https://code.sololearn.com/WXrwOtm23yij/?ref=app
+ 20
//remove spaces in beginning of each line ☺
https://code.sololearn.com/c5g3Qt9Lqt5e/?ref=app
+ 17
Here's, using stream (oneliner) 😊
https://code.sololearn.com/cq6BXKMy4pHY/?ref=app
+ 15
Pascal's triangle
https://code.sololearn.com/cg7Ijn389Sk4/?ref=app
+ 9
https://code.sololearn.com/cAVR4SrBT3av/?ref=app
+ 4
@Yash ..yeah it is..though i forgot the name until just now..
@krishna and @infinity ..you two doing great..
+ 4
I just made one:
https://code.sololearn.com/cRYNXWVy876X/?ref=app
+ 4
Who wants to see that JAVA ART?
I was very bored ;)
https://code.sololearn.com/ceQ1krDLcfcm/?ref=app
+ 3
One liner. And faster than calculating factorials.
https://code.sololearn.com/cYbnEGfj8Xjz/?ref=app
+ 3
https://code.sololearn.com/WFXo17WmFX69/?ref=app