text: This function mainly initializes dp [ ] [ ] [ ] and calls pathCountDPRecDP ( )
code: int pathCountDP ( int mat [ ] [ C ] , int k ) { memset ( dp , -1 , sizeof dp ) ; return pathCountDPRecDP ( mat , R - 1 , C - 1 , k ) ; }