+ 11

Coding Challenge :: Spider Matrix

You have to draw a spider matrix Rules :- Accept the limit 'n' If the limit is 3, Spider matrix is as follows :- AAAAAAA ABBBBBA ABCCCBA ABBBBBA AAAAAAA THE corresponding letter of 3 is C Therefore, C appears in the middle 3 times. If the limit was 4, D would have appeared in the middle 4 times with all the preceding letters surrounding it in the above manner. Have fun!!!!😀😀😀😀😀 Please try and post your answers......... #challenging #mind-bending

29th Jul 2017, 6:24 AM
Danish Javed
Danish Javed - avatar
8 Réponses
29th Jul 2017, 6:41 AM
Александр Громозонов
Александр Громозонов - avatar
29th Jul 2017, 10:05 AM
Danish Javed
Danish Javed - avatar
+ 6
Spider matrix in python. This code allows you to input a number or letter limit (for a limit of 3 you could also put in 'C'). https://code.sololearn.com/cK6UNGRPDVtK/?ref=app
29th Jul 2017, 1:03 PM
Stephen
+ 3
This is a clever challenge. Let me think.....
29th Jul 2017, 9:25 PM
Louis
Louis - avatar
+ 2
Hey, funny Challenge! Anyway, here's my spaghetti python code, with a bit of recursion. https://code.sololearn.com/cfsR4ODZ0mId/?ref=app
30th Jul 2017, 8:06 PM
Christian Luzzetti
Christian Luzzetti - avatar
31st Jul 2017, 6:10 PM
bindu velivela
bindu velivela - avatar
1st Aug 2017, 12:58 PM
Kartikey Sahu
Kartikey Sahu - avatar
1st Aug 2017, 6:04 PM
Garikai
Garikai - avatar