文件名称:lrucacheleetcode-leetcode:我的leetcode练习快速回顾索引
文件大小:8KB
文件格式:ZIP
更新时间:2024-07-19 16:37:39
系统开源
lru缓存leetcode Leetcode 实践与解决方案(灵感来自 ) :heart_suit: 意味着您需要订阅 不。 标题 代码 基本理念 等级 990 1. 联合查找2.创建键和值'a'到'z' 中等的 989 数组转换为整数 简单的 988 1.使用DFS和pop temp list直到等于level 2.对结果进行排序,取第一个结果 中等的 985 1. 计算 A 的所有偶数值 2. 减去 A[index] 是偶数值,并将值添加到 A[index] 并检查偶数值。 简单的 984 决定A或B哪个大于另一个,while(LS >= 2 and L >= 2 and S >= 1), while(L > 0 and S > 0),添加剩余的'a'或'b' 简单的 257 DFS, path_helper(cur, res, temp, level), pop() 简单的 146 双链表、HashMap 难的 129 DFS,每次计算值 中等的 2 链表 中等的 1 哈希图 简单的
【文件预览】:
leetcode-master
----README.md(3KB)
----.gitignore(74B)
----python()
--------0129_sum_root_to_leaf_numbers.py(742B)
--------utils()
--------0001_two_sum.py(434B)
--------0257_binary_tree_paths.py(1KB)
--------0985_sum_of_even_numbers_after_queries.py(843B)
--------0146_lru_cache.py(2KB)
--------0990_satisfiability_of_equality_equations.py(703B)
--------0989_add_to_array_form_of_integer.py(450B)
--------0988_smallest_string_starting_from_leaf.py(1004B)
--------0984_string_without_AAA_or_BBB.py(894B)
--------0002_add_two_numbers.py(1KB)