In this **HackerRank Min and Max problem solution,** You are given a 2-D array with dimensions NXM. Your task is to perform the min function over axis 1 and then find the max of that.

## HackerRank Min and Max in python problem solution

import numpy as np [N,M]=list(map(int,input().split())) L1 = [] for i in range(N): L1.append(list(map(int,input().split()))) npArr = np.array(L1) print(np.max(np.min(npArr,axis = 1)))

## 0 Comments