首页 > TAG信息列表 > pivotIndex

【C语言】数组和字符串

1. 数组简介 集合、列表、数组概念之间的差别 数组的操作 练习:寻找数组的中心索引 点击查看代码 int pivotIndex(int* nums, int numsSize){ int total = 0, leftNum = 0; for(int i=0; i<numsSize;i++){ total += nums[i]; } for(int i=0; i<numsSi