05 2019 档案
摘要:A full binary tree is a binary tree where each node has exactly 0 or 2 children. Return a list of all possible full binary trees with nodes. Each elem
阅读全文
摘要:You are given an array of strings. Two strings and are special equivalent if after any number of moves , S == T. A move consists of choosing two indic
阅读全文
摘要:On a grid, we place some cubes. Each value represents a tower of cubes placed on top of grid cell . Return the total surface area of the resulting sha
阅读全文
摘要:You have a list of and a , and you want to know which words in matches the pattern. A word matches the pattern if there exists a permutation of letter
阅读全文
摘要:Return any binary tree that matches the given preorder and postorder traversals. Values in the traversals and are distinct positive integers. Example
阅读全文
摘要:Alice and Bob have candy bars of different sizes: is the size of the th bar of candy that Alice has, and is the size of the th bar of candy that Bob h
阅读全文
摘要:On a 2 dimensional grid with rows and columns, we start at facing east. Here, the north west corner of the grid is at the first row and column, and th
阅读全文
摘要:We are given two sentences and . (A sentence is a string of space separated words. Each word consists only of lowercase letters.) A word is uncommon i
阅读全文
摘要:On a grid, we place some cubes that are axis aligned with the x, y, and z axes. Each value represents a tower of cubes placed on top of grid cell . No
阅读全文
摘要:The th person has weight , and each boat can carry a maximum weight of . Each boat carries at most 2 people at the same time, provided the sum of the
阅读全文
摘要:An encoded string is given. To find and write the decoded string to a tape, the encoded string is read one character at a time and the following steps
阅读全文
摘要:引言 为什么想到制作这么一个插件呢,是因为博主在更新微信公众号【刷尽天下】的后台数据库时,需要有博客园题目帖子的链接,那么就要从这篇帖子 "LeetCode All in One 题目讲解汇总(持续更新中...)" 中提取各个题目的链接。之前博主都是使用的都是Excel的插件 "Kutools" 来
阅读全文
摘要:Alex and Lee play a game with piles of stones. There are an even number of piles arranged in a row, and each pile has a positive integer number of sto
阅读全文
摘要:Given a non empty, singly linked list with head node , return a middle node of linked list. If there are two middle nodes, return the second middle no
阅读全文
摘要:Koko loves to eat bananas. There are piles of bananas, the th pile has bananas. The guards have gone and will come back in hours. Koko can decide her
阅读全文
摘要:A robot on an infinite grid starts at point (0, 0) and faces north. The robot can receive one of three possible types of commands: : turn left 90 degr
阅读全文