maven编译的时候遇到的奇葩问题, 非常奇葩, 所有其他同事都没有遇到 , 仅仅是我遇到了 不清楚是因为用了最新的JDK的缘故(1.8 update91)还是其他什么原因. 总之是证书的问题. 当时的情况是maven去公司的nexus中心下文件 , nexus是以https开头的地址.下载的时候就 ...
分类:
其他好文 时间:
2016-05-31 19:04:48
阅读次数:
164
“Avalidprovisioningprofileforthisexecutablewasnotfound”今天在xcode7.3.1版本真机调试出现此类错误,从描述上可以看到说:对于可执行provisioningprofile没有被找到。所以网上有很多答案是说你provisioningprofile没有被找到,需要重新导入之类的。重新尝试,无用,于是便..
分类:
移动开发 时间:
2016-05-31 14:18:55
阅读次数:
363
题目链接:https://leetcode.com/problems/evaluate-reverse-polish-notation/
题目:
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each oper...
分类:
其他好文 时间:
2016-05-30 15:15:54
阅读次数:
117
就是dp,从后面开始dp,题意是不能有连续的相同的字符串,开始读错题了,从右往左推,设valid[i]表示存不存在一种方案,使得能将s[i](包括)以后的字符全部拿掉,这个就可以递推了,每往左推一格,看valid[i+2]和valid[i+3],如果为真,再往后搜一下相应的字符串,看有没有连续出现。... ...
分类:
其他好文 时间:
2016-05-29 21:37:15
阅读次数:
176
Problem: Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return true.s = " ...
分类:
其他好文 时间:
2016-05-29 21:23:26
阅读次数:
109
E: GPG error: http://mirrors.oschina.net trusty-backports InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authenticati ...
分类:
Web程序 时间:
2016-05-29 18:35:03
阅读次数:
265
题目链接:
题目:
Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. The valid operators are+, - and *.
...
分类:
其他好文 时间:
2016-05-27 11:26:12
阅读次数:
126
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan ...
分类:
其他好文 时间:
2016-05-25 22:03:03
阅读次数:
122
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 ...
分类:
其他好文 时间:
2016-05-25 15:00:50
阅读次数:
101