docs: update lcof problem: No.044 #3777
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…更通顺的题目描述。
根据原力扣题目https://leetcode.cn/problems/shu-zi-xu-lie-zhong-mou-yi-wei-de-shu-zi-lcof/description/的示例2: 第 12 位数字在序列 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ... 里是 1 ,它是 11 的一部分。
可以发现,其用意中的序列从1开始即1234567891011。
但是题目明显不符合,所以我们仓库贡献者特意修改了一下,将第5位(从下标0开始计数)是5,这里添加了一个括号。
但我觉得是原题目描述上存在误导,力扣原题目我也提了issue,正在处理中。
建议直接在题干中说明序列是从1开始的,去掉示例序列中的0,并且将我们的仓库贡献者良苦用心写的括号提示”从下标0开始计数“去掉,因为仓库贡献者也知道一般来说第k位这种说法就是从第一位即数组下标为0开始的这种默认常识。
即修改为
”数字以123456789101112131415…的格式序列化到一个字符序列中。在这个序列中,第5位是5,第13位是1,第19位是4,等等。“