摘要:
统计难题 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others) Total Submission(s): 23029 Accepted Submission(s): 9640 Problem 阅读全文
摘要:
题目 Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn't 阅读全文
摘要:
int A[nSize],当中隐藏着若干0,其余非0整数。写一个函数int Func(int* A, int nSize),使A把0移至后面。非0整数移至数组前面并保持有序,返回值为原数据中第一个元素为0的下标。 尽可能不使用辅助空间且考虑效率及异常问题。凝视规范且给出设计思路 注:我的方法的复杂度 阅读全文