摘要:
language: C address bool isStraight(int* nums, int numsSize){ // 排序 void bubble_sort(int arr[], int size){ int i,j,key; for (i = 0; i < size ; i++){ f 阅读全文
摘要:
language: C address /** * Note: The returned array must be malloced, assume caller calls free(). */ // 寻找第一个数的时候,遍历整个数组,然后为它找第二个数 // 找第二个数的时候使用二分查找 in 阅读全文
摘要:
address /** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */ int kthLarg 阅读全文
摘要:
同主站110 address /** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */ // 左 阅读全文
摘要:
同主站54 address /** * Note: The returned array must be malloced, assume caller calls free(). */ int* spiralOrder(int** matrix, int matrixSize, int* matr 阅读全文