首页 技术 正文
技术 2022年11月8日
0 收藏 510 点赞 1,609 浏览 2613 个字

Here is a difficulty and frequency distribution chart for each problem (which I got from the Internet and is very useful).

Dynamic Programming

  • Edit Distance
  • Maximum Subarray
  • Minimum Path Sum
  • Unique Paths
  • Unique Paths II
  • Longest Palindromic Substring
  • Interleaving String
  • Triangle
  • Distinct Subsequences
  • Decode Ways
  • Palindrome Partitioning II
  • Maximal Rectangle

Recursion

  • N-Queens
  • N-Queens II
  • Balanced Binary Tree
  • Binary Tree Inorder Traversal
  • Binary Tree Maximum Path Sum
  • Convert Sorted Array to Binary Search Tree
  • Convert Sorted List to Binary Search Tree
  • Flatten Binary Tree to Linked List
  • Maximum Depth of Binary Tree
  • Minimum Depth of Binary Tree
  • Path Sum
  • Permutations
  • Permutations II
  • Populating Next Right Pointers in Each Node
  • Pow(x, n)
  • Same Tree
  • Subsets
  • Sum Root to Leaf Numbers
  • Swap Nodes in Pairs
  • Symmetric Tree
  • Valid Palindrome
  • Validate Binary Search Tree
  • Restore IP Addresses
  • Combinations
  • Interleaving String (dp is the best)
  • Combination Sum II
  • Letter Combinations of a Phone Numbers
  • Word Search
  • Construct Binary Tree from Inorder and Postorder Traversal
  • Construct Binary Tree from Preorder and Inorder Traversal
  • Generate Parentheses
  • Surrounded Regions (runtime error)
  • Palindrome Partitioning
  • Combination Sum
  • Sudoku Solver
  • Unique Binary Search Trees II

Binary Search

  • Search Insert Position
  • Search a 2D Matrix
  • Search for a Range
  • Search in Rotated Sorted Array
  • Sqrt(x)

Sequence

  • Container With Most Water
  • Count and Say
  • First Missing Positive
  • Implement strStr()
  • Jump Game
  • Jump Game II
  • Length of Last Word
  • Longest Common Prefix
  • Longest Substring Without Repeating Characters
  • Merge Sorted Array
  • Palindrome Number
  • Plus One
  • Remove Duplicates from Sorted Array
  • Remove Duplicates from Sorted Array II
  • Remove Element
  • Reverse Integer
  • Search in Rotated Sorted Array II
  • Sort Colors
  • Two Sum
  • 3Sum
  • 3Sum Closest
  • 4Sum
  • Add Binary
  • Longest Palindromic Substring
  • Next Permutation
  • Longest Valid Parentheses
  • Climbing Stairs
  • Permutation Sequence
  • Simplify Path
  • String to Integer (atoi)
  • Minimum Window Substring
  • Longest Consecutive Sequence
  • Trapping Rain Water
  • Valid Number

Linked List

  • Add Two Numbers
  • Convert Sorted List to Binary Search Tree
  • Merge Two Sorted Lists
  • Partition List
  • Remove Duplicates from Sorted List
  • Remove Duplicates from Sorted List II
  • Remove Nth Node From End of List
  • Reverse Linked List II
  • Reverse Nodes in k-Group
  • Rotate List
  • Swap Nodes in Pairs

Stack

  • Binary Tree Inorder Traversal
  • Binary Tree Level Order Traversal II
  • Valid Parentheses

Queue

  • Binary Tree Level Order Traversal
  • Binary Tree Level Order Traversal II
  • Populating Next Right Pointers in Each Node II
  • Symmetric Tree
  • Surrounded Regions
  • Word Ladder

Tree

  • Balanced Binary Tree
  • Binary Tree Inorder Traversal
  • Binary Tree Level Order Traversal
  • Binary Tree Level Order Traversal II
  • Binary Tree Maximum Path Sum
  • Convert Sorted Array to Binary Search Tree
  • Convert Sorted List to Binary Search Tree
  • Flatten Binary Tree to Linked List
  • Maximum Depth of Binary Tree
  • Minimum Depth of Binary Tree
  • Path Sum
  • Same Tree
  • Sum Root to Leaf Numbers
  • Symmetric Tree
  • Validate Binary Search Tree

ref:https://github.com/AnnieKim/Leetcode

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,085
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,560
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,409
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,182
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,819
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,902