上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

2016年6月14日

67. Add Binary

摘要: 1. 问题描述 Given two binary strings, return their sum (also a binary string). Tags: Math String 2. 解答思路 3. 代码 4. 反思 阅读全文

posted @ 2016-06-14 21:56 whl-hl 阅读(119) 评论(0) 推荐(0) 编辑

2016年6月13日

2. Add Two Numbers

摘要: 1. 问题描述 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a 阅读全文

posted @ 2016-06-13 22:04 whl-hl 阅读(134) 评论(0) 推荐(0) 编辑

8. String to Integer (atoi)

摘要: 1. 问题描述 Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not se 阅读全文

posted @ 2016-06-13 20:18 whl-hl 阅读(133) 评论(0) 推荐(0) 编辑

2016年6月12日

18. 4Sum

摘要: 1. 问题描述 Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the ar 阅读全文

posted @ 2016-06-12 21:35 whl-hl 阅读(124) 评论(0) 推荐(0) 编辑

15. 3Sum

摘要: 1. 问题描述 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the 阅读全文

posted @ 2016-06-12 21:29 whl-hl 阅读(116) 评论(0) 推荐(0) 编辑

2016年6月11日

1. Two Sum

摘要: 1. 问题描述 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would 阅读全文

posted @ 2016-06-11 11:43 whl-hl 阅读(130) 评论(0) 推荐(0) 编辑

2016年6月10日

227. Basic Calculator

摘要: 1. 问题描述 Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integers, +, -, *, / ope 阅读全文

posted @ 2016-06-10 10:49 whl-hl 阅读(179) 评论(0) 推荐(0) 编辑

7. Reverse Integer

摘要: 1. 问题描述 Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321 click to show spoilers. Have you thought about this? 阅读全文

posted @ 2016-06-10 10:16 whl-hl 阅读(136) 评论(0) 推荐(0) 编辑

2015年12月29日

PostMessage和SendMessage的区别

摘要: 1, PostMessage只把消息放入队列,不管其他程序是否处理都返回,然后继续执行,这是个异步消息投放函数。而SendMessage必须等待其他程序处理消息完了之后才返回,继续执行,这是个同步消息投放函数。2, 如果在同一个线程内,PostMessage发送消息时,消息要先放入线程的消息队列,然... 阅读全文

posted @ 2015-12-29 23:42 whl-hl 阅读(222) 评论(0) 推荐(0) 编辑

2015年9月24日

Date Time Picker控件

摘要: Step1 在界面中添加一个Date Time Picker控件,ID为:IDC_DATETIMEPICKER1Step2 该控件关联变量CDateTimeCtrl m_dateCtrl;Step3 在OnInitDialog中设置显示格式m_dateCtrl.SetFormat(_T("yyyy:... 阅读全文

posted @ 2015-09-24 23:59 whl-hl 阅读(445) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

导航