Functionalities implemented: isPrime: Returns a boolean based on given number is prime or not. Some important points: Argument of type is unsigned int. Time: O(log(n)) for n as num. Space: O(1) Example: bool ans = isPrime(7);