自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 leetcode 49. Group Anagrams

leetcode  49. Group Anagrams很久·没刷leetcode,逐渐手生了。下面的代码不知道为何不能acc错误为:public class Solution { Set genCharSet(String s){ Set res = new HashSet(); for(int i=0;i<s.length();i++){

2017-04-23 17:18:01 518

原创 leetcode 48. Rotate Image

leetcode 48. Rotate Image本地变换的主要思想是找规律:  先做装置变换,再转列对称变换以下是Python代码:class Solution(object): def rotate(self, matrix): """ :type matrix: List[List[int]] :rt

2017-04-12 22:03:56 495

原创 leetcode 44. Wildcard Matching

leetcode 44. Wildcard Matching这是一段拙劣的程序: Acc at the end in complexity rankingpublic class Solution { public static void main(String[] arg){ String a = "aa"; String b = "*"; Solution s = n

2017-04-06 23:17:10 212

原创 leetcode 43. Multiply Strings

leetcode 43. Multiply Strings字符串相乘  不简单啊。。。参考了 String 、StringBuffer、StringBuilder 之间的区别public class Solution { public static void main(String[] arg){ String a = "999"; String b = "9

2017-04-04 16:03:36 289

原创 leetcode 41. First Missing Positive

leetcode 41. First Missing Positive 今天上午做了两个0-n  排序的问题,排序关键所在于swappublic class Solution { public int firstMissingPositive(int[] nums) { int len = nums.length; int i=0;

2017-04-04 14:02:43 338

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除