human
Minimum rooms for m events of n batches with given schedule | Returns minimum number of rooms required to perform classes of n groups in m slots with given schedule ..
Store count of classes happening in every slot ..
initialize all values to zero.
Number of rooms required is equal to maximum classes happening in a particular slot ..
Driver Code"
How can the above be solved in Python?

What is a code to minimum rooms for m events of n batches with given schedule and the other steps required?
assistant
#Here is code to minimum rooms for m events of n batches with given schedule and the other steps required.
 def findMinRooms ( slots , n , m ) :
	counts = [ 0 ] * m ;
	for i in range ( n ) :
		for j in range ( m ) :
			if ( slots [ i ] [ j ] == '1' ) :
				counts [ j ] += 1 ;
	return max ( counts ) ;
n = 3 ;
m = 7 ;
slots = [ "0101011" , "0011001" , "0110111" ] ;
print ( findMinRooms ( slots , n , m ) ) ;