自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 lintcode-3-统计数字

统计数字描述 笔记 数据 评测 计算数字k在0到n中的出现的次数,k可能是0~9的一个值您在真实的面试中是否遇到过这个题? Yes 样例 例如n=12,k=1,在 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],我们发现1出现了5次 (1, 10, 11, 12)class Solution { /* * param k :

2016-08-18 10:16:23 353

原创 git

git提交使用git-cola工具ubuntu  sudo apt-get install git-colagit checkout -b git branch git branch -d 切换分支git出现permission deny添加ssh-key,将.ssh中以前的pub之类的文件删除执行:s

2016-07-08 15:19:27 451

原创 287. Find the Duplicate Number

287. Find the Duplicate Number Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must exist. Assume that there i

2016-07-07 14:33:24 485

原创 android 6.0 以后 WebView改动

android 6.0Building the Chromium-based WebView in AOSP is no longer supported. WebView cannow be built entirely from the Chromium source code.General instructions for building WebView from C

2016-07-07 11:49:45 4615

原创 adb bash

adb bash not found造成此类现象的原因是:未配置Android的环境变量。因此,您需为Mac中的Android SDK配置环境变量。1、启动Mac自带的终端Terminal。进入当前用户的home目录。2、在命令行输入echo $HOME3、创建.bash_profile文件。4、命令行输入touch .bash_profile  打开.bash_pro

2016-07-05 16:31:02 675

原创 最近的面试小结

连续两周,陆陆续续面试了一些公司。一、网易 电商环境不错,先做了下笔试,然后针对卷子聊了聊a、内部类的问题b、animal的效果实现c、加载本地图片d、scrollview和listviewe、其他一些简单的java基础f、activity切换的具体生命周期,每个方法做了哪些操作,他们的区别。g、聊了下简历上的项目,RN的实现。一面gg,java基础上答的不

2016-06-08 15:46:38 355

原创 leetcode 137

Single Number II

2016-05-07 23:52:18 321

原创 leetcode 206

Reverse Linked List Reverse a singly linked list.1、swap in-placeListNode* reverseList(ListNode* head) { if(head==NULL || head->next==NULL) return head; ListNode *pre =

2016-05-05 11:37:48 395

原创 leetcode 318

318. Maximum Product of Word LengthsGiven a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assume that

2016-05-05 11:11:56 417

原创 leetcode 144

Binary Tree Preorder Traversal

2016-05-03 16:26:26 371

原创 leetcode 343

Integer Break

2016-05-03 16:12:13 380

原创 leetcode 268

Missing Number

2016-05-03 15:22:22 289

原创 leetcode 319

Bulb Switcher

2016-05-03 15:17:16 523

原创 leetcode 169

Majority Element

2016-05-03 14:46:04 442

原创 leetcode 217

Contains Duplicate

2016-05-03 14:40:25 392

原创 Leetcode 238

Product of Array Except Self

2016-05-03 14:25:43 569

原创 Leetcode 237

Delete Node in a Linked List

2016-05-03 13:29:12 520

原创 Leetcode 100

Same Tree

2016-05-03 13:27:49 392

原创 Leetcode 260

Single Number III

2016-05-03 13:23:34 353

原创 Leetcode 283

Move Zeroes

2016-05-03 12:41:17 455

原创 leetcode 347

谓词比较

2016-05-03 12:00:44 338

原创 leetcode 226

leetcode

2016-05-03 10:09:36 958

原创 leetcode 104

递归

2016-05-03 10:07:31 448

原创 leetcode 258. Add Digits

leetcode

2016-05-03 10:05:13 847

原创 292. Nim Game leetcode

leetcode

2016-05-03 10:02:46 648

原创 leetcode 136 single number

no

2016-05-03 10:00:27 290

原创 leetcode 338

C++ TEST

2016-05-02 18:39:15 361

原创 leetcode 344

ResverStringWrite a function that takes a string as input and returns the string reversed.Example:Given s = "hello", return "olleh".Subscribe to see which companies asked this ques

2016-05-02 18:07:28 479

原创 学习手册

1、android imageloader缓存机制。。2、android插件、react native3、c++ stl模板

2016-05-02 15:46:19 290

原创 2016-04-20 for http协议

1、状态码。200 OK301 永久重定向302 303 临时重定向,303 强制要求get403 forbidden 404 not found 400 badrequest500 服务器错误 503 service unavaiable

2016-04-18 16:29:57 400

原创 2016-04-18

项目中用到的数据结构:1、LinkedList:处理商家端数据ArrayList 类似于数组,它通过实例化Object对象,实现一个实例,LinkedList 双端队列,通过链表链接,每个节点中包含上一个节点的引用,下一个节点的引用以及存储的值。2、HashMap:  a.HashMap,是一个散列表,存储的是键值对(key-value)  b.

2016-04-18 16:27:47 247

空空如也

空空如也

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

TA关注的人

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