• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
刻舟求剑,终日乾乾
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 下一页

2015年8月8日

LeetCode(67)题解: Add Binary
摘要: https://leetcode.com/problems/add-binary/ 题目: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "10 阅读全文
posted @ 2015-08-08 13:11 aezero 阅读(434) 评论(0) 推荐(0)
 
 

2015年8月6日

LeetCode(66)题解: Plus One
摘要: https://leetcode.com/problems/plus-one/ 题目: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stor 阅读全文
posted @ 2015-08-06 21:17 aezero 阅读(241) 评论(0) 推荐(0)
 
Leetcode(58)题解:Length of Last Word
摘要: https://leetcode.com/problems/length-of-last-word/ 题目: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return 阅读全文
posted @ 2015-08-06 21:00 aezero 阅读(179) 评论(0) 推荐(0)
 
LeetCode(38)题解: Count and Say
摘要: https://leetcode.com/problems/count-and-say/ 题目: The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, 阅读全文
posted @ 2015-08-06 20:44 aezero 阅读(603) 评论(0) 推荐(0)
 
 

2015年8月5日

LeetCode(11)题解: Container With Most Water
摘要: https://leetcode.com/problems/container-with-most-water/ 题目: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinat 阅读全文
posted @ 2015-08-05 23:48 aezero 阅读(658) 评论(0) 推荐(0)
 
 

2015年7月25日

LeetCode(3)题解: Longest Palindromic Substring
摘要: https://leetcode.com/problems/longest-palindromic-substring/ 题目: Given a string S, find the longest palindromic substring in S. You may assume that th 阅读全文
posted @ 2015-07-25 22:32 aezero 阅读(327) 评论(0) 推荐(0)
 
 

2015年7月14日

LeetCode(28)题解:Implement strStr()
摘要: https://leetcode.com/problems/implement-strstr/ 题目: Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if need 阅读全文
posted @ 2015-07-14 13:17 aezero 阅读(188) 评论(0) 推荐(0)
 
 

2015年6月26日

huawei校招测试题
摘要: 三道题两小时。第一题,圈住所有点的长方形,很简单略过。第二题:奇偶排序。奇偶排序描述:输入若干(不超过1000个)非负整数数字,请先取出为奇数的数字按从大到小排序,再取出偶数从小到大进行排序。运行时间限制:10 Sec内存限制:128 MByte输入:输入一串乱序的数字输出:输出排序后的数字样例输入... 阅读全文
posted @ 2015-06-26 15:44 aezero 阅读(2497) 评论(0) 推荐(0)
 
 

2015年6月19日

LeetCode(27)题解:Remove Element
摘要: https://leetcode.com/problems/remove-element/ Given an array and a value, remove all instances of that value in place and return the new length. The o 阅读全文
posted @ 2015-06-19 00:00 aezero 阅读(312) 评论(0) 推荐(0)
 
 

2015年6月18日

LeetCode(26)题解:Remove Duplicates from Sorted Array
摘要: https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Given a sorted array, remove the duplicates in place such that each element appear 阅读全文
posted @ 2015-06-18 23:33 aezero 阅读(234) 评论(0) 推荐(0)
 
 
上一页 1 2 3 4 5 6 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3