摘要: 可以创建在任何表上的索引: Unique Index:An index that ensures that the value in a particular column or set of columns is unique. Primary index:A unique index on th 阅读全文
posted @ 2016-05-10 16:57 盛小胖 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 如果没有限制,这是一道很简单的题目。 但是有趣的是,要用O(1)的空间复杂度和小雨O(n2)的时间复杂度解决。 这里遇到了一个很有趣的算法:龟兔算法。 Adam:龟兔算法为什么有效: http://adam8157.info/blog/2015/08/why-does-tortoise-and-ha 阅读全文
posted @ 2016-05-10 11:44 盛小胖 阅读(188) 评论(0) 推荐(0) 编辑