2016年11月6日 星期日 --出埃及记 Exodus 19:22 Even the priests, who approach the LORD, must consecrate themselves, or the LORD will break out against them."又叫亲近我的祭司自洁,恐怕我忽然出来击杀他们.…
1 JDBC连接数据库6步 Load the JDBC Driver Establish the Database Connection Create a Statement Object Execute a Query Process the Results Close the Connection 2 事务的4大特性 答:原子性A,一致性C,隔离性I,永久性D 3.select count(*) from student 和select count(id) from student 之间的区…
[链表] Q:Implement an algorithm to find the nth to last element of a singly linked list . 题目:找出链表的倒数第n个节点元素. 解答: 方法一:利用两个指针p,q,首先将q往链表尾部移动n位,然后再将p.q一起往后移,那么当q达到链表尾部时,p即指向链表的倒数第n个节点. node* find_nth_to_last(node* head,int n) { if(head==NULL || n<1) retu…