摘要:
1. stack push and pop 输入两个整数序列。其中一个序列表示栈的push顺序,判断另一个序列有没有可能是对应的pop顺序。为了简单起见,我们假设push序列的任意两个整数都是不相等的。 比如输入的push序列是1、2、3、4、5,那么4、5、3、2、1就有可能是一个pop系列。因为 阅读全文
摘要:
1. arraylist soring 1) Collections.sort(al); 2) public void stackSorting(String stk) { // write your code here ArrayList<Integer> aa = new ArrayList<I 阅读全文
摘要:
1. long string inserted into sql server. insert into tbtest (text) values ('abc\'ff\r\ndef') 2. district 与 orderby 连用 sql="select distinct id from tes 阅读全文
摘要:
确定 main class 1.选中Java项目工程名称,在菜单中选择 File->project structure… (快捷键Ctrl+Alt+Shift+S) 2. 在弹出的窗口中左侧选中"Artifacts",点击"+“选择jar,然后选择"from modules with depende 阅读全文