package mainimport ( "fmt" "log" "net/http" "strings")//http://localhost:9090/?url_long=111&url_long=222func sayhelloName(w http.ResponseW...
分类:
Web程序 时间:
2015-05-02 18:05:40
阅读次数:
129
1.题目Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".2.解答class Solution {
public:
char intToChar(int input){
char strBuffer[1] = {0...
分类:
其他好文 时间:
2015-05-02 16:37:23
阅读次数:
110
1.题目Compare two version numbers version1 and version2.If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0.You may assume that the version strings are non-empty and cont...
分类:
其他好文 时间:
2015-05-01 21:17:42
阅读次数:
189
题目:Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, ...
分类:
其他好文 时间:
2015-05-01 00:32:38
阅读次数:
150
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 of a character must be replaced with anot...
分类:
其他好文 时间:
2015-04-30 21:52:56
阅读次数:
207
Isomorphic Strings2015.4.30 15:54Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be repla...
分类:
其他好文 时间:
2015-04-30 17:34:38
阅读次数:
157
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 of a character must be replaced with another chara...
分类:
其他好文 时间:
2015-04-30 16:18:47
阅读次数:
97
之前安装的google浏览器,不是官方的,而且折腾不天也装不上adobe flash player,无奈又开始研究原版安装方法。
不管使用yum安装还是rpm都报同样错误Requires: libstdc++.so.6(GLIBCXX_3.4.15)
但是之前是升级过gcc的,使用strings /usr/lib/libstdc++.so.6 | grep GLIBC 也可以看到:GLIBC...
分类:
编程语言 时间:
2015-04-30 10:49:34
阅读次数:
203
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 of a character must be replaced with anot...
分类:
其他好文 时间:
2015-04-30 09:00:03
阅读次数:
114
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 of a character must be replaced with anot...
分类:
其他好文 时间:
2015-04-30 08:55:19
阅读次数:
142