OnMobile Interview Question

Java Strings, SQL , prime number