摘要:
题目:zero puzzlingThere is a matrix with m rows and n columns. An element of the matrix has at most four adjacent elements(up, down, left, right). You c... 阅读全文
摘要:
三道leetcode上的题目。Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.题意即:一个数组,里面的元素每个都出现了两次,除了一个特殊的,... 阅读全文
摘要:
http://www.lintcode.com/en/problem/find-the-missing-number/#Find the Missing NumberGiven an array containsNnumbers of 0 ..N, find which number doesn't... 阅读全文