摘要: 题目 Given an array nums and a value val, remove all instances of that value in place and return the new length. Do not allocate extra space for another 阅读全文
posted @ 2018-09-29 10:56 shinjia 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 题目 Given a sorted array nums, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra 阅读全文
posted @ 2018-09-29 09:57 shinjia 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 题目 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Examp 阅读全文
posted @ 2018-09-29 09:06 shinjia 阅读(79) 评论(0) 推荐(0) 编辑