Find deepest pit in array cosisting of N integers value.