码迷,mamicode.com
首页 >  
搜索关键字:example 复杂条件查询    ( 17809个结果
[LeetCode] Interleaving String [30]
题目Givens1,s2,s3, find whethers3is formed by the interleaving ofs1ands2.For example,Given:s1="aabcc",s2="dbbca",Whens3="aadbbcbcac", return true.Whens3...
分类:其他好文   时间:2014-07-07 12:04:54    阅读次数:142
双卡手机怎么指定SIM卡打电话
双卡手机如何指定SIM卡打电话package com.example.dualsimtest;import android.app.Activity;import android.content.Intent;import android.net.Uri;import android.os.Bund...
分类:移动开发   时间:2014-07-07 10:34:29    阅读次数:428
通过SharePreference来存储登陆状态和账号信息
2014-07-0212:00:19package com.example.getshareperference;import java.util.Map;import android.content.Context;import android.content.SharedPreferences;...
分类:其他好文   时间:2014-07-02 17:20:48    阅读次数:215
LeetCode——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. Fo...
分类:其他好文   时间:2014-07-02 16:35:32    阅读次数:213
expandablelistview 的用法
package com.example.getshareperference;import java.util.ArrayList;import java.util.List;import android.app.Activity;import android.os.Bundle;import an...
分类:其他好文   时间:2014-07-02 15:04:02    阅读次数:197
JAAS authentication in Tomcat example--reference
In this tutorial you will learn how to configure JAAS authentication in Tomcat using the HTTP Basic authentication scheme.IntroductionTomcat provides ...
分类:其他好文   时间:2014-07-02 10:28:06    阅读次数:306
【LeetCode】Valid Palindrome
题目 Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" i...
分类:其他好文   时间:2014-07-02 09:49:04    阅读次数:271
LeetCode: Reverse Words in a String [151]
【题目】 Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". click to show clarification. Clarification: What constitutes a word? A sequence of non-space characters constitutes a word....
分类:其他好文   时间:2014-07-02 08:34:34    阅读次数:170
Android开发 打开文件 选择文件对话框
因项目需要打开文件,因此做了一个打开文件的对话框,现在把这部分的代码共享出来了。 首先是一个回调接口,该接口在文件选择完毕的通知调用者进行如果何种操作。文件接口声明,如下: [java] view plaincopyprint? // filename: CallbackBundle.java   package com.example....
分类:移动开发   时间:2014-07-02 07:12:20    阅读次数:339
leetcode-Symmetric Tree 对称树
判断一个二叉树是否是轴对称的是一个经典的算法问题,下面结合leetcode上的Symmetric Tree给出判断对称树的两种方法。       先看看问题描述: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, t...
分类:其他好文   时间:2014-07-02 06:58:05    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!