https://online.codingblocks.com/player/28486/content/4700/4749
Finding-CB-Numbers all test cases are not passing
Hi
Pls go through this thread once:
hey, how can i check if one string in subset/superset of another so that we can remove?
Hey
You can keep one visited array. Mark numbers visited as and when they are checked for whether they are cb numbers or not. Then confirm if any cb number is substring for further numbers to be checked with the help of this visited array
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.