How to find prime no. between 1 to 1crore in java in just 1 sec build time? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to find prime no. between 1 to 1crore in java in just 1 sec build time?

How can reduce execution time in java or netbeans.

12th Jan 2020, 1:26 PM
Keyur Ramani
3 Answers
12th Jan 2020, 3:16 PM
Avinesh
Avinesh - avatar
+ 2
Finding primes between 1 and 10 million will definitely take time disregarding which language I guess. Why don't you share your code in the question Description? who knows you may get help if the community can review your code. Follow this guide on sharing links👍 https://www.sololearn.com/post/74857/?ref=app
12th Jan 2020, 1:59 PM
Ipang
0
How much is 1Crore?
12th Jan 2020, 1:37 PM
Abdol Hashimi
Abdol Hashimi - avatar