摘要:
1 方法一: 2 3 在弹出dialog的时候不用$('#dialogDiv').dialog('open');打开。用$('#dialogDiv').window('open');打开。再用window的resize方法重新布局就可以了。 4 类似: 5 var top = $("#struBtn 阅读全文
摘要:
启动Tomcat时报错 1 严重: The web application [/service] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the 阅读全文
摘要:
字符串"abcde"所有可能顺序的问题,利用递归将问题不断分解达到最小化。 a|bcde; ab|cde; abc|de; 1 public void recursionArrange(char[] arrayA,int start,int end){ 2 if(end == 0) 3 return 阅读全文
摘要:
第一种解法: 也是最简单的解法,时间复杂度为O(N^2) 1 //O(n^2) 2 //直接简单粗暴 3 public void solution1(int[] ints) { 4 int maxSum = ints[0]; 5 for (int i = 0; i < ints.length; i+ 阅读全文