Driver code
public static void main ( String [ ] args ) { int lectures [ ] [ ] = { { 0 , 5 } , { 1 , 2 } , { 1 , 10 } } ; int n = lectures . length ; System . out . println ( minHalls ( lectures , n ) ) ; } }