3 test cases not passing

where is my code failing.Help me identify the error in my code and logic and don’t suggest other codes.

@D19APPPP0016 You should first find the CB numbers of len 1 then CB numbers of len 2 and so on this will ensure that we get maximum non overlapping CB numbers.
In your current approach we might find a larger CB number overlapping smaller CB numbers.


Code for reference if this resolves your doubt mark it as resolved.

please explain with examples at where my approach is failing

@D19APPPP0016
Consider
8
86922395