i have tried a lot of times but the code exceeds time limit. what more changes should i do ?
question : prateek loves candy
my code:
i have tried a lot of times but the code exceeds time limit. what more changes should i do ?
question : prateek loves candy
my code:
Hi @zodiac, you have tampered the seive code. Pls use it in the normal way. There is no need of any such modifications which you have done. Also you have not initialized it correctly and time complexity is surely greater than it should be.