码迷,mamicode.com
首页 >  
搜索关键字:servicestack 官方案例 example 要点说明    ( 18087个结果
【LeetCode】Merge Intervals
Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18].public class S...
分类:其他好文   时间:2014-05-16 08:44:29    阅读次数:276
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".解题思路: 1、先对字符串进行一次总...
分类:其他好文   时间:2014-05-16 05:44:30    阅读次数:263
LeetCode-003 Longest Substring Without Repeating Characters
【题目】 Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with the len...
分类:其他好文   时间:2014-05-15 14:40:14    阅读次数:320
LeetCode--Binary Tree Preorder Traversal
Binary Tree Preorder Traversal  Total Accepted: 18022 Total Submissions: 51784My Submissions Given a binary tree, return the preorder traversal of its nodes' values. For example: Given b...
分类:其他好文   时间:2014-05-14 20:43:22    阅读次数:242
Android多线程——Handler (一) 实现图片下载
在UI线程中创建子线程——》在子线程中获取网络图片--》在线程中通过Message传递二进制图片给Handler,--》Handler在handleMessage()中处理消息packagecom.example.android_handler_message; importjava.io.IOException; importorg...
分类:移动开发   时间:2014-05-14 18:24:57    阅读次数:410
leetcode题目:Palindrome Partitioning 和Palindrome Partitioning II
题目一: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For example, given s = "aab", Return [ ...
分类:其他好文   时间:2014-05-14 15:10:01    阅读次数:293
Hive sql 语法解读
一、 创建表      在官方的wiki里,example是这样的: Sql代码   CREATE [EXTERNAL] TABLE [IF NOT EXISTS] table_name    [(col_name data_type [COMMENT col_comment], ...)]    [COMMENT table_comment]    [PARTITION...
分类:数据库   时间:2014-05-14 14:50:27    阅读次数:463
Leetcode | Interleaving String
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.For example,Given:s1 = "aabcc",s2 = "dbbca",When s3 = "aadbbcbcac", retur...
分类:其他好文   时间:2014-05-13 18:11:42    阅读次数:249
我的Vimrc
本文出自:http://blog.csdn.net/svitter 自己的vimrc。。功能很少,持续更新。 目前支持缩进4个空格,高亮。 用了gvim的example,和bluedust的部分配置文件,用于C++的编辑。 " An example for a vimrc file. " " Maintainer: Bram Moolenaar " Last change...
分类:其他好文   时间:2014-05-13 16:36:10    阅读次数:510
Android中使用Sqlite数据库 (二) 增删改查
定义接口packagecom.example.android_db.service; importjava.util.List; importjava.util.Map; publicinterfacePersonService{ publicbooleanaddPerson(Object[]params); publicbooleandeletePerson(Object[]params); publicbooleanupdatePerson(Object[]params); publicMa..
分类:移动开发   时间:2014-05-13 13:06:04    阅读次数:454
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!