摘要:
1. question: Is Unique: Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures? 阅读全文
摘要:
普通快速排序其实就是递归分割,首先去一个基准数将数组以此为大小分割成两份,然后再递归对此两份数组分别再进行同样的操作。 int getIndex(int* pArry, int low, int high){ int temp = pArry[low]; while (low < high) { w 阅读全文
摘要:
在删除一张表的时候需要关联另外一张表作为查询条件的时候如果有两个字段,则用sql的EXISTS 例:DELETE from recharge_r where EXISTS(SELECT serid from userids b where recharge_r.serid = b.serid and 阅读全文