• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Retrieve the power...

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  Algorithms

上一页 1 2 3

 
[LeetCode][Python]16: 3Sum Closest
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'16: 3Sum Closesthttps://oj.leetcode.com/problems/3sum-closest/Given an array S of n intege... 阅读全文
posted @ 2015-01-21 04:36 Dabay 阅读(439) 评论(0) 推荐(0)
[LeetCode][Python]15:3Sum
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'15: 3Sumhttps://oj.leetcode.com/problems/3sum/Given an array S of n integers, are there el... 阅读全文
posted @ 2015-01-21 02:23 Dabay 阅读(368) 评论(0) 推荐(0)
[LeetCode][Python]14: Longest Common Prefix
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/longest-common-prefix/14: Longest Common PrefixWrite a fu... 阅读全文
posted @ 2015-01-19 20:22 Dabay 阅读(342) 评论(0) 推荐(0)
[LeetCode][Python]Roman to Integer
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/roman-to-integer/Roman to IntegerGiven a roman numeral, c... 阅读全文
posted @ 2015-01-19 01:40 Dabay 阅读(365) 评论(0) 推荐(0)
[LeetCode][Python]Integer to Roman
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/integer-to-roman/Integer to RomanGiven an integer, conver... 阅读全文
posted @ 2015-01-18 03:28 Dabay 阅读(274) 评论(0) 推荐(0)
[Leetcode][Python][DP]Regular Expression Matching
摘要:# -*- coding: utf8 -*-'''https://oj.leetcode.com/problems/regular-expression-matching/Implement regular expression matching with support for '.' and '... 阅读全文
posted @ 2015-01-17 05:58 Dabay 阅读(324) 评论(0) 推荐(0)
[LeetCode][Python]Container With Most Water
摘要:# -*- coding: utf8 -*-'''https://oj.leetcode.com/problems/container-with-most-water/Given n non-negative integers a1, a2, ..., an, where each represen... 阅读全文
posted @ 2015-01-15 19:27 Dabay 阅读(223) 评论(0) 推荐(0)
[LeetCode][Python]Regular Expression Matching
摘要:# -*- coding: utf8 -*-'''https://oj.leetcode.com/problems/regular-expression-matching/Implement regular expression matching with support for '.' and '... 阅读全文
posted @ 2015-01-14 23:21 Dabay 阅读(356) 评论(0) 推荐(0)
[LeetCode][Python]Palindrome Number
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/palindrome-number/Determine whether an integer is a palin... 阅读全文
posted @ 2015-01-14 01:52 Dabay 阅读(322) 评论(0) 推荐(0)
[LeetCode][Python]Largest Number
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/largest-number/Given a list of non negative integers, arr... 阅读全文
posted @ 2015-01-13 23:28 Dabay 阅读(811) 评论(0) 推荐(0)
[LeetCode][Python]String to Integer (atoi)
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/string-to-integer-atoi/Implement atoi to convert a string... 阅读全文
posted @ 2015-01-13 23:19 Dabay 阅读(453) 评论(0) 推荐(0)
[LeetCode][Python]Reverse Integer
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/reverse-integer/Reverse digits of an integer.Example1: x ... 阅读全文
posted @ 2015-01-13 23:05 Dabay 阅读(382) 评论(0) 推荐(0)
[LeetCode][Python]ZigZag Conversion
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/zigzag-conversion/The string "PAYPALISHIRING" is written ... 阅读全文
posted @ 2015-01-13 19:56 Dabay 阅读(431) 评论(0) 推荐(0)
[LeetCode][Python]Longest Palindromic Substring
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/longest-palindromic-substring/Given a string S, find the ... 阅读全文
posted @ 2015-01-13 00:49 Dabay 阅读(362) 评论(0) 推荐(0)
[LeetCode][Python]Median of Two Sorted Arrays
摘要:# -*- coding: utf8 -*-'''https://oj.leetcode.com/problems/median-of-two-sorted-arrays/There are two sorted arrays A and B of size m and n respectively... 阅读全文
posted @ 2015-01-12 01:22 Dabay 阅读(226) 评论(0) 推荐(0)
[LeetCode][Python]Longest Substring Without Repeating Characters
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/longest-substring-without-repeating-characters/Given a st... 阅读全文
posted @ 2015-01-12 01:13 Dabay 阅读(259) 评论(0) 推荐(0)
[LeetCode][Python]Add Two Numbers
摘要:# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/add-two-numbers/You are given two linked lists representi... 阅读全文
posted @ 2015-01-12 00:44 Dabay 阅读(354) 评论(0) 推荐(0)
[LeetCode][Python]Tow Sum
摘要:# -*- coding: utf8 -*-'''https://oj.leetcode.com/problems/two-sum/Given an array of integers, find two numbers such that they add up to a specific tar... 阅读全文
posted @ 2015-01-12 00:04 Dabay 阅读(302) 评论(0) 推荐(0)
 

上一页 1 2 3