Matrix-2-String

Matrix-2-String

给你一个 5x5 的整数矩阵,作为元组的元组。用它作为从 "a "到 "y "的正方形排列字母的掩码(行大序)。返回一个字符串(已排序,忽略大小写),该字符串是根据掩码和以下规则从字母方阵中选取的:

  • 0 在掩码中 - 不取相应字符;
  • 1 - 取小写;
  • 2 - 取大写字母。

example

以下是进行反向转换的任务 -String-2-Matrix

You should be an authorized user in order to see the full description and start solving this mission.