Problem
A submatrix of a matrix is a matrix formed by selecting rows and columns from and taking only those entries found at the intersections of the selected rows and columns. We may also think of a submatrix as formed by deleting the remaining rows and columns from .
Given: An inconsistent character table on at most 100 taxa.
Return: A submatrix of representing a consistent character table on the same taxa and formed by deleting a single row of . (If multiple solutions exist, you may return any one.)
甲子矩阵的矩阵的 是通过从中选择行和列而形成的矩阵 并仅采用在所选行和列的交点处找到的那些条目。我们也可能会认为子矩阵是通过从中删除其余行和列而形成的。
鉴于:一个不一致的字符表 最多有100个分类单元。
返回:的子矩阵 代表同一分类单元上一致的字符表,并通过删除单个行来形成 。(如果存在多个解决方案,则可以返回任何一个。)
Sample Dataset
100001 000110 111000 100111
Sample Output
000110 100001 100111