+ 1

challenge : Triangle Quest

You are given a positive integer . Your task is to print a palindromic triangle of size . For example, a palindromic triangle of size is: 1 121 12321 1234321 123454321 You can't take more than two lines. Input Format A single line of input containing the integer N. Constraints 0< N < 60

30th Dec 2017, 12:17 AM
Sivaraj Sivasubramaniam
Sivaraj Sivasubramaniam - avatar
4 Respostas
30th Dec 2017, 12:17 AM
Sivaraj Sivasubramaniam
Sivaraj Sivasubramaniam - avatar
+ 1
Yay I am the first one to answer this! Thanks for the challenge, here's my try: https://code.sololearn.com/WvxeWfWtKxfq/#js
27th Dec 2017, 4:35 PM
Ng Ju Ping
Ng Ju Ping - avatar
+ 1
please consider "You can't take more than two lines. "
28th Dec 2017, 12:18 AM
Sivaraj Sivasubramaniam
Sivaraj Sivasubramaniam - avatar