码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
小米·粽子达人
粽子达人闲来无聊,加上今天没有抢到小米任何产品,(小米2以来,基本小米的产品都有抢到过,特别是红米手机抢得够多,现在就遗憾抢不到红米note了),所以想吃200个粽子,成为攻城狮。可由于手拙,只能吃到 100 多,无法完成心愿。故只好使用外挂,小小几行代码模拟敲击 white space key 就...
分类:移动开发   时间:2014-06-29 15:00:40    阅读次数:289
[leetcode]Subsets II @ Python
原题地址:https://oj.leetcode.com/problems/subsets-ii/题意:Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:E...
分类:编程语言   时间:2014-05-29 19:10:53    阅读次数:278
leetcode -- 3sum
Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:Elemen...
分类:其他好文   时间:2014-05-28 16:47:30    阅读次数:308
扩展 DbUtility (1)
本文原始路径: https://www.zybuluo.com/Ivony/note/14074前言DbUtility v3 是一个开源的轻量级数据库访问框架,源代码通过 Apache 协议发布,可以用于商业用途。最新的版本可以通过 NuGet 进行下载,项目及源代码下载地址:https://git...
分类:数据库   时间:2014-05-26 13:50:02    阅读次数:361
【LeetCode】Single Number
原文: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without ...
分类:其他好文   时间:2014-05-25 21:30:02    阅读次数:276
堆排序理解 完整代码
/*自我修改* Note: 堆排序(Heap Sort)*/#include using namespace std;// 输出当前堆的排序状况void PrintArray(int data[], int size){ for (int i=1; i a[i]) // 符号修改后形成...
分类:其他好文   时间:2014-05-25 19:07:25    阅读次数:227
LeetCode: Length of Last Word [057]
【题目】 Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. Note: A word is defined as a character sequence consists of non-space ...
分类:其他好文   时间:2014-05-25 07:39:05    阅读次数:256
Tiny6410_SMDK从SD卡直接启动裸板代码
今天折腾了一天终于可以可以直接从SD卡启动6410的裸板程序了,这也让我实现了完全在linux下开发裸板代码。详细过程如下: 1.通过查SMDK6410_IROM_APPLICATION NOTE_REV 1.00,可以查到如下 其中BL1是开发板自动运行的固件代码 从上可以知道应将代码烧到最后地址-(1025+1+16)*512字节处 2.测试代码如下:   1     ....
分类:其他好文   时间:2014-05-25 04:46:13    阅读次数:261
LeetCode:3Sum
题目:         Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique  triplets in the array which gives the sum of zero. Note: Elements...
分类:其他好文   时间:2014-05-25 00:39:37    阅读次数:343
LeetCode: Anagrams [048]
【题目】 Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will be in lower-case. For example: Input:  ["tea","and","ate","eat","den"] Output: ["tea","ate","eat"] 【题意】 anagrams指的是颠倒字母顺序构成的单词,以tea为例,则与它an...
分类:其他好文   时间:2014-05-24 18:36:01    阅读次数:317
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!