Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pmbhatiya authored Apr 13, 2020
1 parent 4e79a4a commit 7102bf2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Min and Max.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Python Min and Max HackerRank solution

import numpy as np

N,M=map(int,input().split())
array=np.array([input().split() for _ in range(N)],int)
print(np.max(np.min(array,axis=1)))

0 comments on commit 7102bf2

Please sign in to comment.