06 2018 档案
摘要:[抄题]: Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. The update(i, val) function modifies nums
阅读全文
摘要:Unit 1:: Programming with Java ✔️ 机械、自动、不需要智慧地执行原始的内置指令。 字节码相同,JVM不同(体现平台) ✖️ In modern computers instructions can be stored and manipulated as other
阅读全文
摘要:🔸《》 🔴【知识点都不懂的】 ⚫️【要新写的】 ⚪️【靠背的】 🔸《TREE》 🔴【知识点都不懂的】 segment tree:做了求sum那道题 ⚫️【要新写的】 tag 174:lca in bst: traverse pre order:有parent节点的 184 tag kth s
阅读全文
摘要:[抄题]: Given many words, words[i] has weight i. Design a class WordFilter that supports one function, WordFilter.f(String prefix, String suffix). It wi
阅读全文
摘要:[抄题]: The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11.11 is re
阅读全文
摘要:[抄题]: Given a list accounts, each element accounts[i] is a list of strings, where the first element accounts[i][0] is a name, and the rest of the elem
阅读全文
摘要:[抄题]: There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is differe
阅读全文
摘要:(点击上方公众号,可快速关注) 编译:精算狗,英文:Michael Lynch 最近,我一直在读有关代码审查最佳范例的文章。我注意到这些文章的关注点是找到 bug,而忽略了代码审查其他的部分。用建设性、专业的问题沟通方式?不相关!只要识别出所有的 bug,剩下的部分会水到渠成。 我只能假设我读过的这
阅读全文