Deloitte Interview Question

Coding Questions: 1. Prime Number 2. Anagram