处理选项为JDE的一种数据结构,命名方式如下:The name of a data structure can be a maximum of 10 characters-only 9 if you begin the name with a T and is formatted as Txxxxx...
分类:
其他好文 时间:
2014-11-24 16:51:16
阅读次数:
162
使用双指针,i遍历全部字符,start收集重复的次数,最后不重复出现的字符个数maxx为i-start+1;// main.cpp// Longest Substring//// Created by Bowie Hsu on 14/11/21.// Copyright (c) 2014年 Bowi...
分类:
其他好文 时间:
2014-11-24 13:21:59
阅读次数:
142
目前ios的指令集有以下几种:1,armv6,支持的机器iPhone,iPhone2,iPhone3G及对应的iTouch2,armv7,支持的机器iPhone4,iPhone4S3,armv7s,支持的机器iPhone5,iPhone5C4,arm64,支持的机器:iPhone5S机器对指令集的支...
分类:
其他好文 时间:
2014-11-24 13:13:01
阅读次数:
206
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:
其他好文 时间:
2014-11-24 10:11:36
阅读次数:
152
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" is not a pa...
分类:
其他好文 时间:
2014-11-24 10:10:28
阅读次数:
152
Determine if a Sudoku is valid, according to:
Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
A partially filled su...
分类:
其他好文 时间:
2014-11-24 10:09:21
阅读次数:
208
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example,S = "ADOBECOD...
# 题目 > Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum window is "B...
分类:
其他好文 时间:
2014-11-23 23:36:47
阅读次数:
411
Data in Java Java has pointers – they are called ‘referenes’ Null is typically represented as 0 Characters and strings Two-byte Unicode instead of ASC...
分类:
其他好文 时间:
2014-11-23 17:28:35
阅读次数:
187
Evaluate Reverse Polish Notation题目描述:Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -,, /. Each oper...
分类:
其他好文 时间:
2014-11-23 14:25:38
阅读次数:
176