SOTI interview question

MATRIX HOP: Problem related to DP Largest Binary