上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: Given a sorted linked list, delete all duplicates such that each element appear only once. 阅读全文
posted @ 2017-06-06 22:06 JeffLai 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. 阅读全文
posted @ 2017-06-06 21:56 JeffLai 阅读(117) 评论(0) 推荐(0) 编辑
摘要: ## Data 语义学 一个class的data members,一般而言,可以表现这个class在程序执行时的某种状态。Nonstatic data members放置的是“个别的class object”感兴趣的数据,static data members则放置的是“整个class”感兴趣的数据。 阅读全文
posted @ 2017-06-06 20:04 JeffLai 阅读(1106) 评论(1) 推荐(1) 编辑
摘要: C++构造函数语义学,挖掘编译器对于“对象构造过程”的干涉,以及对于“程序形式”和“程序效率”上的冲击。 阅读全文
posted @ 2017-06-06 10:14 JeffLai 阅读(889) 评论(0) 推荐(0) 编辑
摘要: Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? 阅读全文
posted @ 2017-06-05 15:20 JeffLai 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 再读《深入探索C++对象模型》笔记。 阅读全文
posted @ 2017-06-05 11:23 JeffLai 阅读(6167) 评论(8) 推荐(1) 编辑
摘要: 内存池的作用在于消除频繁调用系统默认的内存分配和释放函数所带来的开销问题。 阅读全文
posted @ 2017-06-02 15:44 JeffLai 阅读(2140) 评论(0) 推荐(1) 编辑
摘要: Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? 阅读全文
posted @ 2017-06-01 23:07 JeffLai 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be used more than once. 阅读全文
posted @ 2017-06-01 22:49 JeffLai 阅读(424) 评论(2) 推荐(0) 编辑
摘要: Given a set of distinct integers, nums, return all possible subsets. Note: The solution set must not contain duplicate subsets. 阅读全文
posted @ 2017-06-01 22:05 JeffLai 阅读(98) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页