一、锁的算法一 Record Lock (记录锁) 单个行记录上的锁 Gap Lock(间隙锁) 锁定一个范围,但不包含记录本身 MySQL :: MySQL 5.7 Reference Manual :: 14.7.1 InnoDB Locking 主要用于二级索引 Next-Key Lock Gap Lock + Record Lock,锁定......
文章浏览阅读143次。poj 2488 knight's journeyBackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journeyaround the world. Whenever a knight moves......
文章浏览阅读198次。TheFloyd Warshall Algorithmis for solving the All Pairs Shortest Path problem. The problem is to find the shortest distances between every pair of vertices in a given edge-weighted directed Gra..._en solving the problem all-pairs shortest path by floyd method, which one of...