Check for Prime Number in Optimized way | Interview Question

Please find below logic which will help you to write most optimized way to find if a number is Prime or not. What is Prime

Continue reading