上一页 1 ··· 23 24 25 26 27
摘要: Given an array of integers, every element appears twice except for one. Find that single one./* Given an array of integers, every element appears twice except for one. Find that single one. */using... 阅读全文
posted @ 2017-01-10 22:59 xiejunzhao 阅读(161) 评论(0) 推荐(0)
摘要: Invert a binary tree. 4 / \ 2 7 / \ / \ 1 3 6 9to 4 / \ 7 2 / \ / \ 9 6 3 1Trivia:This problem was inspired by this original tweet by Max Howell:Google: 90%... 阅读全文
posted @ 2017-01-10 22:58 xiejunzhao 阅读(137) 评论(0) 推荐(0)
摘要: You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/vertically (not diagonally). The grid is completely ... 阅读全文
posted @ 2017-01-10 22:57 xiejunzhao 阅读(240) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27