摘要:
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-12-04 10:31
code_yang
阅读(243)
评论(0)
推荐(0)
摘要:
You are playing the followingBulls and Cowsgame with your friend: You write down a number and ask your friend to guess what the number is. Each time y... 阅读全文
posted @ 2015-12-04 09:46
code_yang
阅读(205)
评论(0)
推荐(0)
摘要:
Given apatternand a stringstr, find ifstrfollows the same pattern.Herefollowmeans a full match, such that there is a bijection between a letter inpatt... 阅读全文
posted @ 2015-12-04 09:44
code_yang
阅读(136)
评论(0)
推荐(0)

浙公网安备 33010602011771号