Driver code
static public void Main ( ) { string str = " ababbbabbababa " ; Console . WriteLine ( " Min ▁ cuts ▁ needed ▁ for ▁ " + " Palindrome ▁ Partitioning ▁ is ▁ " + minPalPartion ( str , 0 , str . Length - 1 ) ) ; } }