ByteDance

Contents

单调栈 / Trie Tree复习/ 拓扑排序 / BFS / DJ / 计算器

19. Remove Nth Node From End of List

20. valid-parentheses

678. Valid Parenthesis String

22. Generate Parentheses

一面:Validate parenthesis (含*), follow up 输出所有可能的string(dfs)

Encode and Decode TinyURL

Nested List Weight Sum

827. Making A Large Island

207. Course Schedule

151. Reverse Words in a String

78. Subsets

90. Subsets II

72. Edit Distance

124. Binary Tree Maximum Path Sum

253. Meeting Rooms II

215. Kth Largest Element in an Array

15. 3Sum

51. N-Queens

198. House Robber

49. Group Anagrams

199. Binary Tree Right Side View

2385. Amount of Time for Binary Tree to Be Infected 没做过

918. Maximum Sum Circular Subarray

394. Decode String

98. Validate Binary Search Tree

84. Largest Rectangle in Histogram

5. Longest Palindromic Substring

261. Graph Valid Tree 没做过

694. Number of Distinct Islands 没做过

1944. Number of Visible People in a Queue 没做过

1249. Minimum Remove to Make Valid Parentheses 没做过

395. Longest Substring with At Least K Repeating Characters

1368. Minimum Cost to Make at Least One Valid Path in a Grid 没做过

1143. Longest Common Subsequence

1918. Kth Smallest Subarray Sum 没做过

116. Populating Next Right Pointers in Each Node

300. Longest Increasing Subsequence

4. Median of Two Sorted Arrays

2074. Reverse Nodes in Even Length Groups

1048. Longest String Chain 没做过

34. Find First and Last Position of Element in Sorted Array

417. Pacific Atlantic Water Flow

210. Course Schedule II

209. Minimum Size Subarray Sum

56. Merge Intervals

Contents