NIO Interview Question

How do you detect if a sentence or a verse is a panagram. Time permitting, optimize your solution.