hillchan31
码龄17年
关注
提问 私信
  • 博客:106,448
    106,448
    总访问量
  • 32
    原创
  • 594,953
    排名
  • 10
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:浙江省
  • 加入CSDN时间: 2008-02-22
博客简介:

小象吃西瓜

查看详细资料
个人成就
  • 获得14次点赞
  • 内容获得6次评论
  • 获得46次收藏
创作历程
  • 3篇
    2016年
  • 2篇
    2015年
  • 3篇
    2014年
  • 20篇
    2013年
  • 5篇
    2012年
  • 1篇
    2008年
成就勋章
TA的专栏
  • Cracking the coding interview
    13篇
  • php
    1篇
  • xunit
    1篇
  • java
    4篇
  • load testing
    1篇
  • piece
    1篇
  • linux
    2篇
  • leetcode
  • raspberry pi
    1篇
  • EarlGrey
    2篇
创作活动更多

新星杯·14天创作挑战营·第9期

这是一个以写作博客为目的的创作活动,旨在鼓励大学生博主们挖掘自己的创作潜能,展现自己的写作才华。如果你是一位热爱写作的、想要展现自己创作才华的小伙伴,那么,快来参加吧!我们一起发掘写作的魅力,书写出属于我们的故事。我们诚挚邀请你们参加为期14天的创作挑战赛! 注: 1、参赛者可以进入活动群进行交流、分享创作心得,互相鼓励与支持(开卷),答疑及活动群请见 https://bbs.csdn.net/topics/619626357 2、文章质量分查询:https://www.csdn.net/qc

473人参与 去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

[Google EarlGrey] 0x02 API 简介

Google EarlGrey学习笔记: [Google EarlGrey] 0x00 安装及运行 [Google EarlGrey] 0x01 第一个测试用例 [Google EarlGrey] 0x02 API简介APIEarlGrey主要包括三部分APIs交互相关的编程接口(Interaction APIs)同步相关的编程接口(Synchronization APIs)
原创
发布博客 2016.03.01 ·
2085 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[Google EarlGrey] 0x01 第一个测试用例

安装成功EarlGrey后,下面来配置并编写第一个测试用例。安装步骤见[Google EarlGrey] 0x00 安装及运行测试配置对被测应用安装完成EarlGrey支持后,确保Test Target设置正确能够启动相应的被测应用。1 General标签 * Host Application应该被设置成被测应用 2 Build Settings标签 * Test Host指向被测应用
原创
发布博客 2016.02.23 ·
1139 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[Google EarlGrey] 0x00 安装及运行

EarlGrey简介EarlGrey 是一个面向iOS apps源码的用户界面测试框架,让使用者可以编写清楚且简洁的测试。Google 已经在在其少数iOS应用上使用此框架进行功能测试,例如YouTube,日历,Photos,翻译,Play Music等在内的Google应用。EarlGrey提供的主要特性如下:强大的内建同步机制:使用EarlGrey构建测试用例后,在UI交互前,程序会自动等待动
原创
发布博客 2016.02.23 ·
2246 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

[Raspberry Pi] 1 无线网卡安装

[Raspberry Pi] 1 无线网卡安装1 硬件EDUP EP-N8508GS 2 配置参考http://blog.csdn.net/cugbabybear/article/details/23551007基本一致,按照以上文章配置,会遇到pi@raspberrypi ~ $ sudo ifup wlan0ifup: interface wlan0 alr
原创
发布博客 2015.01.09 ·
677 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

[Raspberry Pi] 0 安装和启动

[Raspberry Pi] 0 安装和启动1 软件和硬件Raspberry Pi Model B+充电器 DC5.0V 2000mB(USB)microusb usb 线一根网线一根路由器电脑(Win7)2 SD制作过程基本按照《爱上 Raspberry Pi》的附录AWindows 烧录SD卡首先下载并安装Win32DiskImager,安装
原创
发布博客 2015.01.09 ·
809 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[LeetCode OJ] Reverse Words in a String

题目:Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".
原创
发布博客 2014.06.04 ·
512 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

shell 使用管道符时变量的问题

文件如下:test12345使用命令wc -l test输出结果为5 test使用管道符计算文件行数脚本如下:#!/bin/shlinenum=0cat test | while read linedo echo "line content: $line" ((linenum+=1))donee
原创
发布博客 2014.03.27 ·
4832 阅读 ·
1 点赞 ·
1 评论 ·
2 收藏

jq Linux下命令行json解析工具

jq官网 : http://stedolan.github.io/jq/下载binary之后可以直接调用,详细安装见:http://stedolan.github.io/jq/download/简单使用方式:1,json文件友好显示cat jsonfile | path_to_jq/jq .2,获取json某key的valuecat jsonfile | p
原创
发布博客 2014.03.25 ·
13699 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

cci-Q3.2 设计栈可以返回最小值

原文:How would you design a stack which, in addition to push and pop, also has a function min which returns the minimum element? Push, pop and min should all operate in O(1) time.译文:实现一个栈,除了
原创
发布博客 2013.07.30 ·
1141 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

矩阵基础知识

Transpose Matrix(转置矩阵)A =    111222333444555666A' =    111333555
原创
发布博客 2013.07.29 ·
1129 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

cci-Q3.1 一个数组实现三个栈

原文:Describe how you could use a single array to implement three stacks.译文:你如何只用一个数组实现三个栈?根据栈的大小,申请一个3*stacksize的数组。public class stack3 { int[] buffer = null; int size = 0;
原创
发布博客 2013.07.24 ·
600 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cci-Q2.5 寻找环形链表的起点

原文:Given a circular linked list, implement an algorithm which returns node at the beginning of the loop.DEFINITIONCircular linked list: A (corrupt) linked list in which a node’s next point
原创
发布博客 2013.07.22 ·
763 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cci-Q2.4 链表的值相加

原文:You have two numbers represented by a linked list, where each node contains a single digit. The digits are stored in reverse order, such that the 1’s digit is at the head of the list. Write a f
原创
发布博客 2013.07.19 ·
630 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cci-Q2.3 只给出中间节点,删除链表中间节点

原文:Implement an algorithm to delete a node in the middle of a single linked list, given only access to that node.EXAMPLEInput: the node ‘c’ from the linked list a->b->c->d->e Result: nothi
原创
发布博客 2013.07.12 ·
747 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cci-Q2.2 链表倒数第n节点值

原文:Implement an algorithm to find the nth to last element of a singly linked list.译文:实现一个算法从一个单链表中返回倒数第n个元素。使用两个指针,first和second,当second.next==null时,first为倒数第(second-first)个节点 pub
原创
发布博客 2013.07.12 ·
976 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cci-Q2.1 未排序链表去重

原文:Write code to remove duplicates from an unsorted linked list.FOLLOW UPHow would you solve this problem if a temporary buffer is not allowed?译文:从一个未排序的链表中移除重复的项进一步地,如果不允许
原创
发布博客 2013.07.10 ·
1991 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cci-Q1.8 调用一次子字符串判断确认s2是否为s1的旋转字符

原文:Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, s1 and s2, write code to check if s2 is a rotation of s1 using only one call to isSub
原创
发布博客 2013.07.10 ·
847 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cci-Q1.7 二维数组置0

原文:Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column is set to 0.译文:写一个函数处理一个MxN的矩阵,如果矩阵中某个元素为0,那么把它所在的行和列都置为0.不能直接进行遍历置0,因为在遍历的过程中可能遇到之前被置0的元
原创
发布博客 2013.07.10 ·
1606 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cci-Q1.6 矩形90度旋转

原文:Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place?译文:一张图像表示成NxN的矩阵,图像中每个像
原创
发布博客 2013.07.09 ·
675 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

cci-Q1.5 空格替换为%20

原文:Write a method to replace all spaces in a string with ‘%20’.译文:写一个函数,把字符串中所有的空格替换为%20 。将字符串转为字符数组;变量数组找到空格的个数;申请一个新的字符数组,长度为len+2×count public static String replaceSpace(String
原创
发布博客 2013.07.09 ·
658 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多