2015年10月27日

Invert Binary Tree

摘要: package cn.edu.xidian.sselab;/*** title:Invert Binary Tree* content:* nvert a binary tree. * 4* / \* 2 7* / \ / \*1 3 6 9*to* 4* / \* 7 2* / \ / \*9 6... 阅读全文

posted @ 2015-10-27 23:02 wzyxidian 阅读(135) 评论(0) 推荐(0) 编辑

Move Zeroes

摘要: package cn.edu.xidian.sselab;/** * titile:Move Zeroes * content: * Given an array nums, write a function to move all 0's to the end of it while mainta 阅读全文

posted @ 2015-10-27 23:02 wzyxidian 阅读(259) 评论(0) 推荐(0) 编辑

Contains Duplicate

摘要: package cn.edu.xidian.sselab;import java.util.HashSet;/*** title:Contains Duplicate* content:* Given an array of integers, find if the array contains ... 阅读全文

posted @ 2015-10-27 23:00 wzyxidian 阅读(175) 评论(0) 推荐(0) 编辑

导航