Finding coding blocks number

Code passed all test cases, but in one test case it is giving run-error. Please tell the mistake.

Hello @poorva2145

Your code cannot check for CB numbers greater than 10000005 because your array coding_numbers is of this size only.
You should modify your approach to check for coding numbers of size greater than 10000005 also.

1 Like