Today code bite : 1 and 2 test case is not running its showing tle?
Hello @kailash_01
Try to do the question using sieve of eratosthenes.
It will reduce the time complexity of your algorithm.
Let me know if you still need any help.
Hello @kailash_01
Try to do the question using sieve of eratosthenes.
It will reduce the time complexity of your algorithm.
Let me know if you still need any help.