Kohl's Interview Question

Q: Write a method to return the largest integer in an array? Q: Write a method to return the indices of two values in an array of integers that add up to a provided sum?