1. Which of the following topics are covered in the chapter that you were assigned to read (answer Y/N for each topic):

- algorithm running times
- search
- sorting
- recursion

2. Write a method that, given a 2-D array and a row index, returns the sum of all elements of the given row. Trace how your method will work when we use it to compute the sum of Row 1 in the following array:

1 2 3 4