2015年9月1日

摘要: 1 题目:Invert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 12 思路:这是因为谷歌面试xx而著名的题,拿来做做。想了一会,想出来... 阅读全文
posted @ 2015-09-01 19:13 聆听V风声 阅读(133) 评论(0) 推荐(0) 编辑
 
摘要: 1 题目Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integers. Y... 阅读全文
posted @ 2015-09-01 09:40 聆听V风声 阅读(135) 评论(0) 推荐(0) 编辑