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






Retrieve the power...

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 8 下一页

2015年1月13日

[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 阅读(444) 评论(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 阅读(374) 评论(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 阅读(426) 评论(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 阅读(356) 评论(0) 推荐(0)
 

2015年1月12日

[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 阅读(223) 评论(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 阅读(253) 评论(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 阅读(350) 评论(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 阅读(300) 评论(0) 推荐(0)
 

2007年6月14日

面向对象设计技巧[Object Oriented Design Tips] - 2
摘要: Pick nouns or noun phrases as classesIdentifying objects is easy, they should always be nouns. As we have seen in the Circuit Controller example, we picked up nouns from the requirements as classes in... 阅读全文
posted @ 2007-06-14 23:47 Dabay 阅读(207) 评论(0) 推荐(0)
 

2007年6月10日

面向对象设计的技巧[Object Oriented Design Tips]-1
摘要: Stay close to problem domainDesign is a process of modeling the problem domain into programming constructs. Object oriented design simplifies the design process by maintaining a one-to-one mapping bet... 阅读全文
posted @ 2007-06-10 23:14 Dabay 阅读(330) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 7 8 下一页