OSIsoft Interview Question

Stack vs queues, palindrome, prime numbers coding