for (int k = 5; k < 2 * n; ++k) {
for (int j = 0; j < k; ++j) {
System.out.println("hello");
}
for (int j = 0; j < n; ++j) {
System.out.println("hello");
}
for (int j = 0; j < k; ++j) {
System.out.println("hello");
}
}
http://java.sun.com/docs/books/tutorial/collections/index.html"
For each of the following four assignments, specify which of the four core interfaces is best suited, and explain how to use it to implement the assignment. Don't actually DO the assignment -- just state which interface (Set, List, Queue or Map) you would use and (in a sentence or less) why.
Total: 100 points