码迷,mamicode.com
首页 >  
搜索关键字:you are the one    ( 52546个结果
【LeetCode】- Search Insert Position(查找插入的位置)
[ 问题: ] Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in th...
分类:其他好文   时间:2014-07-22 23:01:15    阅读次数:270
UVA之10878 - Decode the tape
【题目】 Your boss has just unearthed a roll of old computer tapes. The tapes have holes in them and might contain some sort of useful information. It falls to you to figure out what is written on them...
分类:其他好文   时间:2014-05-02 23:35:16    阅读次数:526
UVA之10361 - Automatic Poetry
Problem I Automatic Poetry Input: standard input Output: standard output Time Limit: 2 seconds Memory Limit: 32 MB   “Oh God”, Lara Croft exclaims, “it’s one of these dumb rid...
分类:其他好文   时间:2014-05-02 22:51:52    阅读次数:352
Ubuntu Sublime text 2 安装 SublimeClang
Instructionshereare not great.First shut down ST2.Make sure you use absolute paths for symlink:e.g.$ curl -kL http://xrl.us/pythonbrewinstall | bash$ ...
分类:其他好文   时间:2014-05-02 11:01:23    阅读次数:382
百视通与微软共同宣布9月在华发布Xbox One
4月30日消息,百视通今日与微软共同宣布,于今年9月在华发布Xbox One。这是继百视通与微软2013年9月成立合资公司后,双方合作的又一进展。微软副总裁,硬件及设计工作室部门主管尤瑟夫 ?梅赫迪(Yusuf Mehdi)表示:“Xbox One登陆中国对于微软及整个行业是重要里程碑,百视通是微软...
分类:其他好文   时间:2014-05-02 09:34:44    阅读次数:329
Reverse Linked List II
Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2->5->NULL.No...
分类:其他好文   时间:2014-05-02 09:10:46    阅读次数:252
Leetcode: Plus One
少数次通过 1 public class Solution { 2 public int[] plusOne(int[] digits) { 3 int[] carry=new int[digits.length+1]; 4 int[] results=new i...
分类:其他好文   时间:2014-05-02 08:23:11    阅读次数:271
oracle db打one-off-patch 一例
oracle db打one-off-patch 一例...
分类:数据库   时间:2014-05-02 06:45:41    阅读次数:399
[leetcode] Best Time to Buy and Sell Stock
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2014-05-02 00:37:20    阅读次数:349
Leetcode:Rotate Image 旋转图片
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? 刚开始没有思路,但是自己举了几个简单的栗子才看出规律:需要一圈儿一圈儿的变换位置。有两层for循环:外...
分类:其他好文   时间:2014-05-01 18:33:34    阅读次数:359
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!