Driver code
static void Main ( ) { int K = 7 ; List < List < int > > Q = new List < List < int > > ( ) ; Q . Add ( new List < int > ( ) ) ; Q [ 0 ] . Add ( 2 ) ; Q [ 0 ] . Add ( 5 ) ; Q . Add ( new List < int > ( ) ) ; Q [ 1 ] . Add ( 1 ) ; Q [ 1 ] . Add ( 15 ) ; int N = Q . Count ;