Focus Softnet interview question

prime numbers, factorial ,array logical programs