I was doing this thing; but I realised it'll be a big problem as when I'll create a new kata then I have to edit all the previous kata....So I droped that thought.
THANKS ^_^
Lets say the argument passed is n, Hence:
pattern(n)=
123...n 23...n1 3...n12 ..n123. .n123.. n123...
For n=10;
pattern(10)=
12345678910 23456789101 34567891012 45678910123 56789101234 67891012345 78910123456 89101234567 91012345678 10123456789
What is the expected output when n > 9?
Loading collection data...
I was doing this thing; but I realised it'll be a big problem as when I'll create a new kata then I have to edit all the previous kata....So I droped that thought.
THANKS ^_^
Lets say the argument passed is n, Hence:
pattern(n)=
For n=10;
pattern(10)=
What is the expected output when n > 9?