[Leetcode][Python]36: Valid Sudoku
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'36: Valid Sudokuhttps://oj.leetcode.com/problems/valid-sudoku/Determine if a Sudoku is val...
阅读全文
[Leetcode][Python]35: Search Insert Position
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'35: Search Insert Positionhttps://oj.leetcode.com/problems/search-insert-position/Given a ...
阅读全文
[Leetcode][Python]34: Search for a Range
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'34: Search for a Rangehttps://oj.leetcode.com/problems/search-for-a-range/Given a sorted a...
阅读全文
[Leetcode][Python]33: Search in Rotated Sorted Array
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'33: Search in Rotated Sorted Arrayhttps://oj.leetcode.com/problems/search-in-rotated-sorte...
阅读全文
[Leetcode][Python]32: Longest Valid Parentheses
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'32: Longest Valid Parentheseshttps://oj.leetcode.com/problems/longest-valid-parentheses/Gi...
阅读全文
[Leetcode][Python]31: Next Permutation
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'31: Next Permutationhttps://oj.leetcode.com/problems/next-permutation/Implement next permu...
阅读全文
[Leetcode][Python]30: Substring with Concatenation of All Words
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'30: Substring with Concatenation of All Wordshttps://oj.leetcode.com/problems/substring-wi...
阅读全文
[Leetcode][Python]29: Divide Two Integers
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'29: Divide Two Integershttps://oj.leetcode.com/problems/divide-two-integers/Divide two int...
阅读全文
[Leetcode][Python]28: Implement strStr()
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'28: Implement strStr()https://oj.leetcode.com/problems/implement-strstr/Implement strStr()...
阅读全文
[Leetcode][Python]27: Remove Element
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'27: Remove Elementhttps://oj.leetcode.com/problems/remove-element/Given an array and a val...
阅读全文
[Leetcode][Python]26: Remove Duplicates from Sorted Array
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'26: Remove Duplicates from Sorted Arrayhttps://oj.leetcode.com/problems/remove-duplicates-...
阅读全文
[Leetcode][Python]25: Reverse Nodes in k-Group
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'25: Reverse Nodes in k-Grouphttps://oj.leetcode.com/problems/reverse-nodes-in-k-group/Give...
阅读全文
[Leetcode][Python]24: Swap Nodes in Pairs
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'24: Swap Nodes in Pairshttps://oj.leetcode.com/problems/swap-nodes-in-pairs/Given a linked...
阅读全文
[Leetcode][Python]23: Merge k Sorted Lists
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'23: Merge k Sorted Listshttps://oj.leetcode.com/problems/merge-k-sorted-lists/Merge k sort...
阅读全文
[Leetcode][Python]22: Generate Parentheses
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'22: Generate Parentheseshttps://oj.leetcode.com/problems/generate-parentheses/Given n pair...
阅读全文
[Leetcode][Python]21: Merge Two Sorted Lists
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'21: Merge Two Sorted Listshttps://oj.leetcode.com/problems/merge-two-sorted-lists/Merge tw...
阅读全文
[Leetcode][Python]20: Valid Parentheses
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'20: Valid Parentheseshttps://oj.leetcode.com/problems/valid-parentheses/Given a string con...
阅读全文
[Leetcode][Python]19: Remove Nth Node From End of List
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'19: Remove Nth Node From End of Listhttps://oj.leetcode.com/problems/remove-nth-node-from-...
阅读全文
[LeetCode][Python]18: 4Sum
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'18: 4Sumhttps://oj.leetcode.com/problems/4sum/Given an array S of n integers, are there el...
阅读全文
[LeetCode][Python]17: Letter Combinations of a Phone Number
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'17: Letter Combinations of a Phone Numberhttps://oj.leetcode.com/problems/letter-combinati...
阅读全文