摘要:
mysql自增id获取 使用max函数:select max(id) from tablename 优点:使用方便快捷。 缺点:获取的不是真正的自增id,是表中最大的Id,如果有删除数据的话,那么该值和自增id相差比较大。如果有连表数据,有可能导致数据错乱。 使用LAST_INSERT_ID函数:s 阅读全文
摘要:
常在池边游,却不曾到池子里一探究竟?浅谈Java线程池,从test到原理。 阅读全文
摘要:
什么是不变模式?为什么String要被设计成不变模式呢? 阅读全文
摘要:
总结网络模型以及各个模型下的设备。 阅读全文
摘要:
mysql基础知识 阅读全文
摘要:
最近在训练一个人脸识别的模型,而项目训练需要大量真实人脸图片样本。 刚好项目用到opencv识别人脸,可以把每一帧图片保存下来,用此方法可以方便的获取大量的脸部样本,大约20分钟可以获取到10000张. 阅读全文
摘要:
利用谱聚类算法解决非完全图的聚类 阅读全文
摘要:
Given a non-empty string containing an out-of-order English representation of digits 0-9, output the digits in ascending order. Note: Example 1: Examp 阅读全文
摘要:
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr 阅读全文
摘要:
Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "anagram", t = "nagaram", return true. s = "rat", t 阅读全文