Nagarro Interview Question

Sort matrix based on column, sorting with absolute value, and last one was substring pallindrome identification