Lab 06, Esc101, 2004-05 Semester-II
Solve the following problems.
Problem 1
Write a Method to reverse the elements of an array of strings
given as arument, without allocating a new array.
Problem 2
Write a Method to reverse the
elements of an array of strings given as argument, without changing the
original array.
Problem 3
Write a Method to return the first N fibonacci numbers as an
array. Each fibonacci number can be computed successively from
previously stored values.
Problem 4
i. Write a Method to return the _position_ of the
alphabetically first string, in a given array of strings
ii. Write a Method to return the alphabetically first
string, in a given array of strings -- this one should use the method
in the previous question