Infosys Interview Question

1. Return is Prime Number with optimised solution 2. Implement min heap