Driver code
static void Main ( ) { char [ ] str = " geeksforgeeks " . ToCharArray ( ) ; int n = str . Length ; int [ , ] tree = new int [ max , 27 ] ; buildBIT ( tree , str , n ) ; qType1 ( tree , 4 , ' g ' , str ) ; qType2 ( tree , 1 , 4 , str ) ; qType2 ( tree , 2 , 3 , str ) ; qType1 ( tree , 10 , ' t ' , str ) ; qType2 ( tree , 10 , 11 , str ) ; } }