Monday, April 20, 2009

Practicing

We just returned from the practice competition. It was quite difficult. The first question took about a minute, then 2 more minutes for the 2nd question. It took us about 40 minutes to complete them all...
(questions are abbreviated)
Question 1: We like to talk to the world a lot. However, the world doesn't ever have an opportunity to respond. Now it is taking such an opportunity. There is no input. Output should read, "The world says hello."
Question 2: The quickest sorting algorithm ever. You are given a set of cases, starting with n. n numbers follow in ascending order. You must sort them in ascending order. Sample output:
Case 1: Sorting...done
Case 2: Sorting...done
Case 3: Sorting...done

The last couple were a bit more challenging. But obviously not too much. It was a fun time.

No comments:

Post a Comment