Valid Anagram 描述 分析 代码 Valid Anagram 描述 Given two strings s and t , write a function to determine if t is an anagram of s . For example, s = "anagram", t = "nagaram", ...
Binary Tree Postorder Traversal 描述 分析 栈 Morris后序遍历 相关题目 Binary Tree Postorder Traversal 描述 Given a binary tree, return the postorder traversal of its nodes' values. Fo...
Edit Distance 描述 分析 动规 动规+滚动数组 Edit Distance 描述 Given two words word1 and word2 , find the minimum number of steps required to convert word1 to word2 . (each operation ...
Symmetric Tree Symmetric Tree Given a binary tree, check whether it is a mirror of itself(ie, symmetric around its center) For example, this tree is symmetric: 1 ...
Permutation Index Question Problem Statement Example 题解 Python C++ Java 源码分析 复杂度分析 Reference Permutation Index Question lintcode: (197) Permutation Index Probl...
Search Insert Position Question Problem Statement Example Challenge 题解 Python C++ Java 源码分析 复杂度分析 Search Insert Position Question lintcode: (60) Search Insert Posi...