会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
学海无涯
瞎鼓捣了一点东西:jefflai.org
博客园
首页
新随笔
联系
订阅
管理
[置顶]
深入探索C++对象模型(五)
摘要: 构造、解构、拷贝语意学(Semantics of Construction,Destruction, and Copy)
阅读全文
posted @ 2017-06-09 09:46 JeffNice
阅读(1475)
评论(6)
推荐(1)
[置顶]
深入探索C++对象模型(四)
摘要: C++函数语义学
阅读全文
posted @ 2017-06-07 21:45 JeffNice
阅读(797)
评论(0)
推荐(1)
[置顶]
深入探索C++对象模型(三)
摘要: ## Data 语义学 一个class的data members,一般而言,可以表现这个class在程序执行时的某种状态。Nonstatic data members放置的是“个别的class object”感兴趣的数据,static data members则放置的是“整个class”感兴趣的数据。
阅读全文
posted @ 2017-06-06 20:04 JeffNice
阅读(1127)
评论(1)
推荐(1)
[置顶]
哈希表的设计与实现
摘要: 写在前面的话,本来看网上的面经就一直有关于哈希表的问题,再加之实验室同学头条面试的时候让实现一个unordered_map,本来已经把对哈希表的总结和实现提上日程了。奈何太懒,一天拖一天,直到自己面阿里的时候被面试官在哈希表上翻来覆去蹂躏的时候,真的是不得不感叹一句,活该!!!
阅读全文
posted @ 2017-05-27 17:35 JeffNice
阅读(3205)
评论(2)
推荐(2)
[置顶]
C++ 虚函数相关,从头到尾捋一遍
摘要: 众所周知,C++虚函数是一大难点,也是面试过程中必考部分。此次,从虚函数的相关概念、虚函数表、纯虚函数、再到虚继承等等跟虚函数相关部分,做一个比较细致的整理和复习。
阅读全文
posted @ 2017-04-04 22:37 JeffNice
阅读(1165)
评论(2)
推荐(6)
2017年11月1日
97. Interleaving String
摘要: Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.
阅读全文
posted @ 2017-11-01 20:22 JeffNice
阅读(168)
评论(0)
推荐(0)
2017年6月22日
Leetcode: 96. Unique Binary Search Trees
摘要: Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
阅读全文
posted @ 2017-06-22 09:32 JeffNice
阅读(184)
评论(0)
推荐(0)
Leetcode: 95. Unique Binary Search Trees II
摘要: Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1...n.
阅读全文
posted @ 2017-06-22 09:30 JeffNice
阅读(140)
评论(0)
推荐(0)
2017年6月21日
Leetcode: 94. Binary Tree Inorder Traversal
摘要: Given a binary tree, return the inorder traversal of its nodes' values.
阅读全文
posted @ 2017-06-21 20:27 JeffNice
阅读(157)
评论(0)
推荐(0)
Leetcode: 93. Restore IP Addresses
摘要: Given a string containing only digits, restore it by returning all possible valid IP address combinations.
阅读全文
posted @ 2017-06-21 17:20 JeffNice
阅读(280)
评论(0)
推荐(0)
Leetcode: 92. Reverse Linked List II
摘要: Reverse a linked list from position m to n. Do it in-place and in one-pass.
阅读全文
posted @ 2017-06-21 15:43 JeffNice
阅读(180)
评论(0)
推荐(0)
Leetcode: 91. Decode Ways
摘要: A message containing letters from A-Z is being encoded to numbers using the following mapping:
阅读全文
posted @ 2017-06-21 10:44 JeffNice
阅读(153)
评论(0)
推荐(0)
2017年6月20日
Leetcode: 90. Subsets II
摘要: Given a collection of integers that might contain duplicates, nums, return all possible subsets.
阅读全文
posted @ 2017-06-20 23:07 JeffNice
阅读(213)
评论(0)
推荐(0)
Linux写时拷贝技术(copy-on-write)
摘要: 不经意间看到这篇帖子,想起实习面试的时候再讨论fork时,谈到了这个问题。做一个记录吧。
阅读全文
posted @ 2017-06-20 16:27 JeffNice
阅读(22493)
评论(0)
推荐(2)
基本UDP套接字编程
摘要: 使用TCP编写的应用程序和使用UDP编写的应用程序之间存在一些本质差异,其原因在于这两个传输层之间的差别:UDP是无连接不可靠的数据报协议,非常不同于TCP提供的面向连接的可靠字节流。然而相比TCP,有些场合更适合UDP。使用UDP编写的一些常见应用程序有:DNS(域名系统)、NFS(网络文件系统)和SNMP(简单网络管理协议)。
阅读全文
posted @ 2017-06-20 15:17 JeffNice
阅读(1906)
评论(0)
推荐(0)
下一页
公告