2015年6月9日

1031. Hello World for U (20)

摘要: 题目如下: Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed a... 阅读全文

posted @ 2015-06-09 13:12 张大大123 阅读(136) 评论(0) 推荐(0) 编辑

1032. Sharing (25) -set运用

摘要: 题目如下: To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share th... 阅读全文

posted @ 2015-06-09 13:03 张大大123 阅读(264) 评论(0) 推荐(0) 编辑

1033. To Fill or Not to Fill (25) -贪心算法

摘要: 题目如下: With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car is limited, we have to ... 阅读全文

posted @ 2015-06-09 12:42 张大大123 阅读(191) 评论(0) 推荐(0) 编辑

导航