摘要: 合并两个排序的整数数组A和B变成一个新的数组。给出A=[1,2,3,4],B=[2,4,5,6],返回 [1,2,2,3,4,4,5,6] 假设A具有足够的空间(A数组的大小大于或等于m+n)去添加B中的元素。 给出 A = [1, 2, 3, empty, empty], B = [4, 5] 合 阅读全文
posted @ 2017-11-28 16:20 苗妙苗 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 形式汇总: 206. Reverse Linked List 92. Reverse Linked List II:Given a string and an integer k, you need to reverse the first k characters for every 2k cha 阅读全文
posted @ 2017-11-28 14:36 苗妙苗 阅读(126) 评论(0) 推荐(0) 编辑