Bridgenext interview question

1. Find max from array without using built in function