Data Structure and Algorithms | 2020-05-22 Leetcode 210: Course Schedule II Question A extension on 207. Course Schedule. Given the relationship of n gro ...
Data Structure and Algorithms | 2020-05-17 Leetcode 207. Course Schedule Question Given the relationship of n groups of prerequisite courses, [m, n] means that n class mu ...
Data Structure and Algorithms | 2020-05-14 Leetcode 200. Number of Islands Question Given a two-dimensional array, 1 as the land and 0 as the sea, connecting the land to fo ...
Data Structure and Algorithms | 2020-04-19 Leetcode 130. Surrounded Regions Question It’s a little bit like Go, turning the O enclosed by X into X, and the O at the boundary ...
Data Structure and Algorithms | 2020-04-16 Leetcode 129. Sum Root to Leaf Numbers Question Given a binary tree, the path from the root node to the leaf node forms a number. Calcula ...
Data Structure and Algorithms | 2020-04-07 Leetcode 114. Flatten Binary Tree to Linked List Question Expand a binary tree into a linked list. Similar Question Medium - 430. Flatten a Multil ...
Data Structure and Algorithms | 2020-04-02 Leetcode 113. Path Sum II Question Given a sum, output tha paths which starts from the root node to the leaf nodes, and add ...
Data Structure and Algorithms | 2020-03-31 Leetcode 109. Convert Sorted List to Binary Search Tree Question Given an ascending linked list and generate a balanced binary search tree. Similar Quest ...
Data Structure and Algorithms | 2020-03-25 Leetcode 105. Construct Binary Tree from Preorder and Inorder Traversal Question Restored binary tree according to the pre-order and in-order traversal. Similar Question ...
Data Structure and Algorithms | 2020-02-11 Leetcode 98. Validate Binary Search Tree Question Given a tree, determine if the tree is a valid binary search tree. The binary search tree ...