注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
一面
[下午3:05] Quanmao LIU
Convert an IP-v4 string to an integer (uint32).
High performance + Low space cost.
Return -1 if input an invalid IP (ignore return/output number);
Return the converted result integer value if it's valid.
Input: str = "192.168.0.1" -> 3232235521 (C0 A8 00 01 : C0=192 An content etc.
二面
- stoi
- 栈实现max()
- 1-100万,都是满的,找唯一一个出现了2次的元素
- 不都是满的,找唯一一个出现了2次的元素
三面
判断2个字符串是不是回文
二叉查找树,每个node有个指向父亲的域,求一个node的后继
国内的微软,大家可以参考,虽然3面过了但是可能没有hc了。求大家加米呀。
|