摘要: 1.4 Write a method to replace all spaces in a string with '%20'. You may assume that the string has sufficient space at the end of the string to hold ... 阅读全文
posted @ 2015-07-16 11:41 Grandyang 阅读(1602) 评论(0) 推荐(0)
摘要: 1.3 Given two strings, write a method to decide if one is a permutation of the other.这道题给定我们两个字符串,让我们判断一个是否为另一个的全排列字符串。在LeetCode中,关于排列的题有如下几道,Permutat... 阅读全文
posted @ 2015-07-16 08:47 Grandyang 阅读(1740) 评论(0) 推荐(0)
摘要: Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of numsexcept nu 阅读全文
posted @ 2015-07-16 08:29 Grandyang 阅读(29139) 评论(2) 推荐(5)
Fork me on GitHub