解开的都是套路
Thursday, December 21, 2017
Facebook脸家 - Lexicographical path
›
Lexicographical path 5 / \ 3 2 / \ \ 2 4 4 \ 1 FB 面经,自底向上的 path 有【1,4,2...
Saturday, December 16, 2017
Leetcode - 214. Shortest Palindrome
›
214 . Shortest Palindrome Given a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and r...
Friday, December 15, 2017
Leetcode - Permutation Palindrome ii (javascript)
›
267. Palindrome Permutation II Given a string s , return all the palindromic permutations (without duplicates) of it. Return an empty ...
Sunday, July 30, 2017
Leetcode -- 105. Construct Binary Tree from Preorder and Inorder Traversal
›
105. Construct Binary Tree from Preorder and Inorder Traversal Given preorder and inorder traversal of a tree, construct the binary tree. ...
Monday, May 1, 2017
Leetcode - 61. Rotate List(linkedlist)
›
61. Rotate List medium https://leetcode.com/problems/rotate-list/#/submissions/1 Given a list, rotate the list to the right by k pla...
Thursday, April 27, 2017
Leetcode -- 547. Friend Circles(dfs)
›
547. Friend Circles(dfs) medium https://leetcode.com/problems/friend-circles/#/description There are N students in a class. Some of t...
Wednesday, April 26, 2017
Leetcode -- 322. Coin Change(DP)
›
322. Coin Change(DP) Medium https://leetcode.com/problems/coin-change/#/description You are given coins of different denominations and a...
›
Home
View web version