[Leetcode][Python]56: Merge Intervals
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'56: Merge Intervalshttps://oj.leetcode.com/problems/merge-intervals/Given a collection of ...
阅读全文
[Leetcode][Python]55: Jump Game
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'55: Jump Gamehttps://leetcode.com/problems/jump-game/Given an array of non-negative intege...
阅读全文
[Leetcode][Python]54: Spiral Matrix
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'54: Spiral Matrixhttps://leetcode.com/problems/spiral-matrix/Given a matrix of m x n eleme...
阅读全文
[Leetcode][Python]53: Maximum Subarray
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'53: Maximum Subarrayhttps://leetcode.com/problems/maximum-subarray/Find the contiguous sub...
阅读全文
[Leetcode][Python]52: N-Queens II
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'52: N-Queens IIhttps://oj.leetcode.com/problems/n-queens-ii/Follow up for N-Queens problem...
阅读全文
[Leetcode][Python]51: N-Queens
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'51: N-Queenshttps://oj.leetcode.com/problems/n-queens/The n-queens puzzle is the problem o...
阅读全文
[Leetcode][Python]50: Pow(x, n)
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'50: Pow(x, n)https://leetcode.com/problems/powx-n/Implement pow(x, n).=== Comments by Daba...
阅读全文
[Leetcode][Python]49: Anagrams
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'49: Anagramshttps://leetcode.com/problems/anagrams/Given an array of strings, return all g...
阅读全文
[Leetcode][Python]48: Rotate Image
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'48: Rotate Imagehttps://leetcode.com/problems/rotate-image/You are given an n x n 2D matri...
阅读全文
[Leetcode][Python]47: Permutations II
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'47: Permutations IIhttps://oj.leetcode.com/problems/permutations-ii/Given a collection of ...
阅读全文
[Leetcode][Python]46: Permutations
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'46: Permutationshttps://leetcode.com/problems/permutations/Given a collection of numbers, ...
阅读全文
[Leetcode][Python]45: Jump Game II
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'45: Jump Game IIhttps://oj.leetcode.com/problems/jump-game-ii/Given an array of non-negati...
阅读全文
[Leetcode][Python]44:Wildcard Matching
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'44:Wildcard Matchinghttps://oj.leetcode.com/problems/wildcard-matching/'?' Matches any sin...
阅读全文
[Leetcode][Python]43: Multiply Strings
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'43: Multiply Stringshttps://leetcode.com/problems/multiply-strings/Given two numbers repre...
阅读全文
[Leetcode][Python]42: Trapping Rain Water
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'42: Trapping Rain Waterhttps://oj.leetcode.com/problems/trapping-rain-water/Given n non-ne...
阅读全文
[Leetcode][Python]41: First Missing Positive
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'41: First Missing Positivehttps://oj.leetcode.com/problems/first-missing-positive/Given an...
阅读全文
[Leetcode][Python]40: Combination Sum II
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'40: Combination Sum IIhttps://oj.leetcode.com/problems/combination-sum-ii/Given a collecti...
阅读全文
[Leetcode][Python]39: Combination Sum
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'39: Combination Sumhttps://oj.leetcode.com/problems/combination-sum/Given a set of candida...
阅读全文
[Leetcode][Python]19: Remove Nth Node From End of List
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'38: Count and Sayhttps://oj.leetcode.com/problems/count-and-say/The count-and-say sequence...
阅读全文
[Leetcode][Python]37: Sudoku Solver
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'37: Sudoku Solverhttps://oj.leetcode.com/problems/sudoku-solver/Write a program to solve a...
阅读全文