Check Prime Number An algorithm to check if given number is prime or not with a time complexity of O(logn) Dependencies node.js g++ Execution node checkPrime.js g++ checkPrime.cpp -o checkPrime