摘要:
212. Word Search II Given an m x n board of characters and a list of strings words, return all words on the board. Each word must be constructed from 阅读全文
摘要:
211. Design Add and Search Words Data Structure Design a data structure that supports adding new words and finding if a string matches any previously 阅读全文
摘要:
208. Implement Trie (Prefix Tree) A trie (pronounced as "try") or prefix tree is a tree data structure used to efficiently store and retrieve keys in 阅读全文
摘要:
297. Serialize and Deserialize Binary Tree Serialization is the process of converting a data structure or object into a sequence of bits so that it ca 阅读全文
摘要:
124. Binary Tree Maximum Path Sum A path in a binary tree is a sequence of nodes where each pair of adjacent nodes in the sequence has an edge connect 阅读全文
摘要:
105. Construct Binary Tree from Preorder and Inorder Traversal Given two integer arrays preorder and inorder where preorder is the preorder traversal 阅读全文
摘要:
230. Kth Smallest Element in a BST Given the root of a binary search tree, and an integer k, return the kth smallest value (1-indexed) of all the valu 阅读全文
摘要:
##98. Validate Binary Search Tree Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as foll 阅读全文
摘要:
102. Binary Tree Level Order Traversal Given the root of a binary tree, return the level order traversal of its nodes' values. (i.e., from left to rig 阅读全文