[LeetCode刷題筆記] 648 – Replace Words
題目描述: In English, we have a concept called root, which …
題目描述: In English, we have a concept called root, which …
題目描述: Implement the MapSum class: MapSum() Initializes …
題目描述: Given a n-ary tree, find its maximum depth. The m …
[LeetCode刷題筆記] 559 – Maximum Depth of N-ary Tree Read More »
題目描述: Given an n-ary tree, return the level order trave …
[LeetCode刷題筆記] 429 – N-ary Tree Level Order Traversal Read More »
題目描述: Implement the RandomizedSet class: bool insert(in …
[LeetCode刷題筆記] 380 – Insert Delete GetRandom O(1) Read More »
題目描述: Given a non-empty array of integers, return the * …
題目描述: Given four lists A, B, C, D of integer values, co …
題目描述: Given a string s, find the length of the longest …
[LeetCode刷題筆記] 3 – Longest Substring Without Repeating Characters Read More »
題目描述: You’re given strings jewels representing th …
題目描述: Given the root of a binary tree, return all dupli …