
CareerCup
文章平均质量分 77
leileicaocao
这个作者很懒,什么都没留下…
展开
-
CareerCup_1_1
Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures? /* Implement an algorithm to determine if a string has all unique charac原创 2013-06-19 10:49:57 · 447 阅读 · 0 评论 -
CareerCup_1_6
Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place? /* Given an image represented by an原创 2013-06-19 17:28:43 · 361 阅读 · 0 评论 -
CareerCup_1_7
Write an algorithm such that if an element in an MxN matrix is 0, its entire row and column are set to 0. /* Write an algorithm such that if an element in an MxN matrix is 0, its entire row and co原创 2013-06-19 20:03:48 · 432 阅读 · 0 评论 -
CareerCup_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 the additional characters, and that you are give原创 2013-06-19 15:43:43 · 451 阅读 · 0 评论