LeetCode: 1663-Smallest String With A Given Numeric Value 解題紀錄
Last Updated on 2022-03-24 by Clay
題目
The numeric value of a lowercase character is defined as its position (1-indexed)
in the alphabet, so the numeric value of a
is 1
, the numeric value of b
is 2
, the numeric value of c
is 3
, and so on.