Accenture interview question

How to compute the largest integer for n an array? Reverse a string without using any built in function Bubble and Selection Sort Djikstra's algorithm