Skip to content

Conversation

@0533-april
Copy link

学号:2023111972

修改思路:

  1. 修正了变量 n 的定义错误,从 nums.length - 1 改为 nums.length
  2. 修复了基数排序中指数更新错误,从 exp += 10 改为 exp *= 10
  3. 修正了循环范围,确保使用正确的数组长度
  4. 修复了 for 循环括号不匹配的语法错误
  5. 确保了基数排序算法的正确实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant