摘要:
[抄题]: 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 阅读全文
摘要:
[抄题]: In a given array nums of positive integers, find three non-overlapping subarrays with maximum sum. Each subarray will be of size k, and we want 阅读全文