06 2021 档案

摘要:因为以后的很多有关数组的面试题都离不开增删改查,所以基本的逻辑语句是要会的比如插入的时候 first to create a new space for inserting element. then shift all elments one index from that index to th 阅读全文
posted @ 2021-06-09 10:36 奋斗中的菲比 阅读(107) 评论(0) 推荐(0) 编辑
摘要:clarifying questions negtive integers positive integers add up to 16 in theory recursion tree is equivalent to the number of sort of (somewhat) leftmo 阅读全文
posted @ 2021-06-08 17:44 奋斗中的菲比 阅读(63) 评论(0) 推荐(0) 编辑
摘要:Array https://leetcode.com/explore/featured/card/fun-with-arrays/521/introduction/3295/ snippet= piece of simplicity variant Accessing Elements in Arr 阅读全文
posted @ 2021-06-07 12:36 奋斗中的菲比 阅读(58) 评论(0) 推荐(0) 编辑
摘要:自底向上的单元测试 方法 先对最底层的基本单元进行测试,模拟调用该单元的单元做驱动模块。然后再对上面一层进行测试,用下面已被测试过的单元做桩模块。依此类推,直到测试完所有单元。 优点 在集成测试前提供系统早期的集成途径。不需要开发桩模块。 缺点 随着测试的进行,测试过程越来越复杂。 总结 比较合理的 阅读全文
posted @ 2021-06-04 15:08 奋斗中的菲比 阅读(331) 评论(0) 推荐(0) 编辑
摘要:目描述 给定 a、b 两个文件,各存放 50 亿个 URL,每个 URL 各占 64B,内存限制是 4G。请找出 a、b 两个文件共同的 URL。 解答思路 每个 URL 占 64B,那么 50 亿个 URL占用的空间大小约为 320GB。 5, 000, 000, 000 * 64B ≈ 5GB 阅读全文
posted @ 2021-06-04 15:01 奋斗中的菲比 阅读(74) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示