Find maximum and minimum number of an array. | Array Operations | javascript Interview Questions | NextRound.in