2015年5月2日
摘要: What if duplicates are allowed?Would this affect the run-time complexity? How and why?Write a function to determine if a given target is in the array.... 阅读全文
posted @ 2015-05-02 11:27 黄瓜小肥皂 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ 2 2... 阅读全文
posted @ 2015-05-02 10:40 黄瓜小肥皂 阅读(124) 评论(0) 推荐(0) 编辑