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

2015年6月9日

scala快速学习笔记(一):变量函数,操作符,基本类型
摘要: 为了用spark,先学下scala。参考教程:http://meetfp.com/zh/scala-basicdoc查询:http://docs.scala-lang.org其它资料:http://scalachina.com/node/16 http://blog.csdn.net/ma... 阅读全文
posted @ 2015-06-09 14:27 aezero 阅读(4284) 评论(0) 推荐(1)
 
 

2015年6月7日

LeetCode题解(20)--Valid Parentheses
摘要: https://leetcode.com/problems/valid-parentheses/ 原题: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the i 阅读全文
posted @ 2015-06-07 15:42 aezero 阅读(185) 评论(0) 推荐(0)
 
 

2015年6月5日

LeetCode题解(19)--Remove Nth Node From End of List
摘要: https://leetcode.com/problems/remove-nth-node-from-end-of-list/ 原题: Given a linked list, remove the nth node from the end of list and return its head. 阅读全文
posted @ 2015-06-05 22:37 aezero 阅读(162) 评论(0) 推荐(0)
 
 

2015年6月3日

LeetCode题解(14)--Longest Common Prefix
摘要: https://leetcode.com/problems/longest-common-prefix/ 原题: Write a function to find the longest common prefix string amongst an array of strings. 思路: 简单 阅读全文
posted @ 2015-06-03 17:15 aezero 阅读(228) 评论(0) 推荐(0)
 
LeetCode题解(12)--Integer to Roman
摘要: https://leetcode.com/problems/integer-to-roman/ 原题: Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 阅读全文
posted @ 2015-06-03 13:05 aezero 阅读(172) 评论(0) 推荐(0)
 
 

2015年6月2日

LeetCode题解(13)--Roman to Integer
摘要: https://leetcode.com/problems/roman-to-integer/ 原题: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 阅读全文
posted @ 2015-06-02 23:50 aezero 阅读(217) 评论(0) 推荐(0)
 
 

2015年5月9日

LeetCode题解(9)--Palindrome Number
摘要: Determine whether an integer is a palindrome. Do this without extra space. 思想: 先计算出这个整数的逆序数,然后比较它和原来的数每位是否都相同即可。另外要注意负数没有回文数,还应该考虑overflow一定不是回文数。 AC代 阅读全文
posted @ 2015-05-09 17:19 aezero 阅读(179) 评论(0) 推荐(0)
 
LeetCode题解(8)--String to Integer (atoi)
摘要: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below 阅读全文
posted @ 2015-05-09 17:06 aezero 阅读(256) 评论(0) 推荐(0)
 
LeetCode题解(7)--Reverse Integer
摘要: Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 思想:一个整数的倒序,没啥说的,在long类型上比较来避免overflow。 AC代码: 1 class Soluti 阅读全文
posted @ 2015-05-09 16:23 aezero 阅读(167) 评论(0) 推荐(0)
 
 

2015年5月7日

LeetCode题解(6)--ZigZag Conversion
摘要: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font 阅读全文
posted @ 2015-05-07 23:39 aezero 阅读(189) 评论(0) 推荐(0)
 
 
上一页 1 2 3 4 5 6 下一页

公告


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