Prateek loves candy code doubt


what is the problem with this code ?

@chahatkumar hey chahat this approach will not work try sieve of erthathones constraints of this question is very high.

oh okay thanks :slight_smile: