leetcode2sumc LeetCode Codes and Notes:这是我在LeetCode.com上的学习记录

qq_84429 0 0 zip 2024-10-08 15:10:08

leetcode 2 sum c LeetCode-Codes-and-Notes Here is a record of my learning on LeetCode. CATALOG

No. Date Title Tag Notes

  1. 2020.08.06 Array Hash Map

  2. 加快查找的速度:哈希表牺牲空间换时间。

  3. 泛型,避免集合使用中的强制类型转换

  4. 2020.08.06 LinkedList recursion iteration

  5. 在普遍解法中包含特殊情况,利用0与null

  6. 一种单链表的反向操作:head.next = head;

  7. 变量名的指代性:prev, curr, next, temp。

  8. 2020.08.07 stack double-stack stack-plus

  9. double stack:维护一个辅助栈来拓展功能。

  10. stack plus:设计一个增强型栈,它同时存储基础数据和功能性数据。

  11. 2020.08 Circular queue

  12. 多种情形的统一:使用Math.max(…)

用户评论
请输入评论内容
评分:
暂无评论