【题目链接】click here~~
【题目大意】:
You are given string s. Your task is to determine if the given string s contains two non-overlapping substrings “AB” and “BA” (the substrings can go in any order).
Input...
分类:
其他好文 时间:
2015-06-09 17:24:38
阅读次数:
105
You are given string s. Your task is to determine if the given string s contains
two non-overlapping substrings "AB" and "BA" (the substrings
can go in any order).
Input
The only line of...
分类:
其他好文 时间:
2015-06-09 17:21:51
阅读次数:
184
You are given a non-negative integer n, its decimal representation consists of at most 100 digits
and doesn't contain leading zeroes.
Your task is to determine if it is possible in this case to r...
分类:
其他好文 时间:
2015-06-09 17:21:09
阅读次数:
133
Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of a ...
分类:
其他好文 时间:
2015-06-08 23:12:15
阅读次数:
119
Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer...
分类:
移动开发 时间:
2015-06-08 22:55:02
阅读次数:
153
1.httpd -k 命令,报错:AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using wangliguodeMacBook-Pro.local. Set the 'S...
分类:
Web程序 时间:
2015-06-08 09:37:47
阅读次数:
128
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:
其他好文 时间:
2015-06-07 23:12:44
阅读次数:
153
1 题目:Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindrome...
分类:
其他好文 时间:
2015-06-07 21:34:42
阅读次数:
123
Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occurrences...
分类:
编程语言 时间:
2015-06-07 20:13:58
阅读次数:
153
Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer...
分类:
移动开发 时间:
2015-06-07 20:06:50
阅读次数:
154