码迷,mamicode.com
首页 >  
搜索关键字:simple example    ( 24106个结果
如何用Maven创建web项目(具体步骤)
使用eclipse插件创建一个web project 首先创建一个Maven的Project如下图     我们勾选上Create a simple project (不使用骨架)       这里的Packing 选择 war的形式     由于packing是war包,那么下面也就多出了webapp的目录...
分类:Web程序   时间:2014-06-09 23:15:29    阅读次数:336
LeetCode: Triangle [120]
【题目】 Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the following triangle [ [2], [3,4], [6,5,7], [4,1,8,3] ] The minimum path sum from top to...
分类:其他好文   时间:2014-06-08 17:52:45    阅读次数:235
Unique Binary Search Trees
题目 Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example, Given n = 3, there are a total of 5 unique BST's. 1 3 3 2 ...
分类:其他好文   时间:2014-06-08 17:06:58    阅读次数:235
http协议
1,如何理解HTTP/Soap协议 SOAP (Simple Object Access Protocol):简单对象访问协议。 主要用于 Web Service, Web Service协议主要包括两个方面:传输协议和数据表示,关于传输协议可以是 HTTP 或其他,数据表示也可以是 Key -Value (键值对)、XML或其他,只不过现在通用的是http+soap 一言以蔽之, SOAP...
分类:其他好文   时间:2014-06-08 16:45:57    阅读次数:445
[LeetCode] Valid Palindrome [10]
题目:For example,"A man, a plan, a canal: Panama" is a palindrome. "race a car" is not a palindrome. 解题思路:验证一个字符串是否是回文字符串。首先看看wiki上对于回文的解释:回文,亦称回环,是正读反读都能读通的句子,亦有将文字排列成圆圈者,Famous examples include "Amore, Roma", "A man, a plan, a canal: Panama" and "No 'x' in...
分类:其他好文   时间:2014-06-08 16:30:29    阅读次数:235
LeetCode: Pascal's Triangle II [119]
【题目】 Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your algorithm to use only O(k) extra space? 【题意】 给定行索引k, k从0开始,返回该索引指向的杨辉三角的行 要求只能使用O(k)的额外空间 【思路】 ...
分类:其他好文   时间:2014-06-08 15:46:02    阅读次数:272
Unique Binary Search Trees II
题目 Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example, Given n = 3, your program should return all 5 unique BST's shown below. ...
分类:其他好文   时间:2014-06-08 15:15:26    阅读次数:223
ProgressDialog(四)——改变系统自带ProgressDialog的文字大小
MainActivity如下: package com.example.ttt; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import android.view.Window; /** * Demo描述: * 改变系统自带ProgressDialog的...
分类:其他好文   时间:2014-06-08 09:24:15    阅读次数:190
LeetCode: Pascal's Triangle [118]
【题目】 Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5, Return [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1] ] 【题意】 给定整数numRows, 要求生成杨辉三角的前numRows行 【思路】 杨辉三角有以下特点: 1. 第n行有n个元素 ...
分类:其他好文   时间:2014-06-08 09:17:06    阅读次数:196
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", return true. When s3 = "aadb...
分类:其他好文   时间:2014-06-08 09:14:26    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!