<?php
/**
??*?wechat?php?test
??*/
//define?your?token
define("TOKEN",?"weixin");
$wechatObj?=?new?wechatCallbackapiTest();
//$wechatObj->valid();
$wechatObj->responseMsg();
class?wec...
分类:
微信 时间:
2014-11-07 19:27:19
阅读次数:
681
1 package com.kite.controller; 2 3 import java.util.HashMap; 4 import java.util.Map; 5 6 import javax.validation.Valid; 7 8 import org.spr...
分类:
编程语言 时间:
2014-11-06 19:39:37
阅读次数:
245
sax解析特点:1、逐行读取 2、事件处理-- 方法 3、解析器调用相应的事件 4、只能读取文件DefaultHandler可以触发5个事件*startDocument()开始文档*startElement()开始元素*characters()文本*endElement()结束元素*endDo...
分类:
其他好文 时间:
2014-11-06 19:20:09
阅读次数:
127
Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another ex...
分类:
其他好文 时间:
2014-11-06 19:16:47
阅读次数:
178
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 defin...
分类:
其他好文 时间:
2014-11-06 14:57:52
阅读次数:
150
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2014-11-06 07:04:33
阅读次数:
220
leetcode 原题 :(即判断二叉树是否为二叉查找树)Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subt...
分类:
编程语言 时间:
2014-11-05 22:54:17
阅读次数:
204
一开始非常天真的利用2次for循环,依次剔除其中的非英文字符,一次用来比较,但是后来显示超时,没办法,只能把两次合并为一次。qishifdsfd。其实我是最厌恶这种题目的,要求不清,你以为有效字符只是英文字母,结果运行一遍才发现竟然还有数字,只能接着改。ac的代码:public class Solu...
分类:
其他好文 时间:
2014-11-05 22:45:32
阅读次数:
241
题目描述:
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...
分类:
其他好文 时间:
2014-11-05 21:30:46
阅读次数:
160
Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a pla...
分类:
其他好文 时间:
2014-11-05 21:22:45
阅读次数:
130