摘要: https://leetcode.com/problems/remove-duplicates-from-sorted-list/ 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int va... 阅读全文
posted @ 2015-07-11 08:38 阿怪123 阅读(145) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/search-insert-position/1 class Solution {2 public:3 int searchInsert(vector& nums, int target) {4 int index=... 阅读全文
posted @ 2015-07-11 08:31 阿怪123 阅读(90) 评论(0) 推荐(0)