摘要:
在运行java程序时出现 Error: could not open c:\program Files\Java\jre6\lib\amd64\jvm.cfg' 卸载掉java后,如果还出现这种情况就到C:\windows\system32下的: java.exe javaw.exe javaws. 阅读全文
摘要:
sp.DATE_PASSWD_EXP)) and usr.isactive = 1 and ar.type = 'B2C' and usr.userid = ual.userid and ual.account_key = ba.account_key and ba.deletedat is nu... 阅读全文
摘要:
前序遍历,也叫先根遍历,遍历的顺序是,根,左子树,右子树遍历结果:ABDECF 中序遍历,也叫中根遍历,顺序是 左子树,根,右子树遍历结果:DBEAFC 后序遍历,也叫后根遍历,遍历顺序,左子树,右子树,根遍历结果:DEBFCA 先序输出:A B D G H E C K F I J中序输出:G D ... 阅读全文
摘要:
题目描述我们可以用2*1的小矩形横着或者竖着去覆盖更大的矩形。请问用n个2*1的小矩形无重叠地覆盖一个2*n的大矩形,总共有多少种方法?public class Solution {public int RectCover(int target) {int[] dp = new int[target... 阅读全文
摘要:
What will be printed when you execute the following code?class C { C() { System.out.print("C"); }}class A { C c = new C(); A() { this("A"); Syst... 阅读全文
摘要:
题目描述输入一个链表,从尾到头打印链表每个节点的值。 输入描述:输入为链表的表头输出描述:输出为需要打印的“新链表”的表头/*** public class ListNode {* int val;* ListNode next = null;** ListNode(int val) {* this... 阅读全文