摘要: /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; *... 阅读全文
posted @ 2014-06-20 19:05 卖程序的小歪 阅读(155) 评论(0) 推荐(0) 编辑
摘要: class Solution {public: int searchInsert(int A[], int n, int target) { if (A == NULL || n target) { q = mi; } els... 阅读全文
posted @ 2014-06-20 16:19 卖程序的小歪 阅读(157) 评论(0) 推荐(0) 编辑