题目:You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?题解:这道题就是考察很....
分类:
编程语言 时间:
2014-08-02 10:02:03
阅读次数:
261
Before you startAbout this tutorialThe new input/output (NIO) library was introduced with JDK 1.4. Picking up where original I/O leaves off, NIO provi...
分类:
其他好文 时间:
2014-08-02 09:55:53
阅读次数:
322
今天做公司项目的时候用到了一个新的东东,
getActionBar().setDisplayHomeAsUpEnabled(true);
这个神奇的东东是使得actionBar上面会出现一个向左的小箭头。
按下它就相当于back,对应的事件是ActionBar.DISPLAY_HOME_AS_UP.
以前做项目为省劲总是在2.0上混,这个东西是在4.0以后默认为false。
...
分类:
移动开发 时间:
2014-08-02 05:14:22
阅读次数:
191
今天写了个示例代码,就是使用Actionbar类实现顶部标签切换功能。如果所示。使用最新的adt工具,创建项目的时候都会带一个android-support-v7-appcompat的类库项目,这个libproject中有我们要用的ActionBar,可以适配2.1的Android系统。废话不多说,直接上代码。1、修改activit..
分类:
移动开发 时间:
2014-08-01 20:14:22
阅读次数:
350
Warm up 2
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)
Total Submission(s): 1754 Accepted Submission(s): 781
Problem Description
Some 1×2 domino...
分类:
其他好文 时间:
2014-08-01 19:58:22
阅读次数:
289
Linked List Cycle
Total Accepted: 24397 Total
Submissions: 68598My Submissions
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra sp...
分类:
其他好文 时间:
2014-08-01 19:52:42
阅读次数:
221
第一部分 个性化控件(View)主要介绍那些不错个性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar及其他如Dialog、Toast、EditText、TableView、Activit...
分类:
移动开发 时间:
2014-08-01 19:01:12
阅读次数:
386
6450 Social AdvertisingYou have decided to start up a new social networking company. Other existing popular social networksalready have billions of us...
分类:
其他好文 时间:
2014-08-01 15:32:01
阅读次数:
310
Description
Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…
The Lunar New Year was approaching, but unluckily the Little ...
分类:
其他好文 时间:
2014-08-01 13:43:42
阅读次数:
193
Sign Up for the First-Ever Appium Roadshow on August 20th in New York City
分类:
移动开发 时间:
2014-08-01 13:05:01
阅读次数:
315