##
Number of palindromic paths in a matrix
December 30, 2016

Given a matrix containing lower alphabetical characters only, we need to count number of palindromic paths in given matrix. A path is defined as a sequence of cells starting from top-left cell and ending at bottom-right cell. We are allowed to move to right and down only from current cell. Examples: Input : mat[][] =… Read More »