Question d’entretien chez Cisco

Write pseudo code for your favorite sorting algorithm. Write a method that determines whether a number is prime.