def find_max_occupancy_node(dir_list):
 count = 0
 number = 0
 length = 0
 for dirs in dir_list:
  if (length < len(dirs)):
   length = len(dirs)
   number = count
  count += 1
 return number

def find_max_occupancy_node ( dir_list ) : count = 0 number = 0 length = 0 for dirs in dir_list : if ( length < len ( dirs ) ) : length = len ( dirs ) number = count count += 1 return number
find node with maximum occupancy .