SPS#1

With only using 0, 1 and 2, we want to make a string so that the difference between one symbol to the next or previous symbol is not more than one . for example we can make string 011221 and 2211010 , but we cannot make 102. how many string could be made , if it was 10 digit long ? please post a solution :)

×

Problem Loading...

Note Loading...

Set Loading...