摘要: Given an arraynums, write a function to move all0's to the end of it while maintaining the relative order of the non-zero elements.For example, givenn... 阅读全文
posted @ 2015-11-02 05:51 Sherry是小太阳 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an... 阅读全文
posted @ 2015-11-02 05:46 Sherry是小太阳 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Question:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant di... 阅读全文
posted @ 2015-11-02 05:32 Sherry是小太阳 阅读(144) 评论(0) 推荐(0) 编辑