Reverse Sting, Array

后端 未结 0 1969
长发绾君心
长发绾君心 2021-01-16 10:19

I couldn\'t understand this part arr[name.Length - i] = name[i - 1];

Let us have a name of 5 characters. so the value of the arr will be 4, right?

then in the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题