Hash function for matrix
How can I generate hash function for matrix ? or how can we compare if two submatrix are equal or not ?
EDIT : tagging source problem , just to make sure it's not from an ongoing contest | interview.