摘要: DescriptionYou have an arraya[1], a[2], ..., a[n], containing distinct integers from1ton. Your task is to sort this array in increasing order with the... 阅读全文
posted @ 2014-05-30 22:01 Hust_BaoJia 阅读(254) 评论(0) 推荐(0) 编辑
摘要: DescriptionYou have a strings = s1s2...s|s|, where|s|is the length of strings, andsiitsi-th character.Let's introduce several definitions:A substrings... 阅读全文
posted @ 2014-05-30 21:54 Hust_BaoJia 阅读(523) 评论(0) 推荐(0) 编辑
摘要: You have decided to start up a new social networking company. Other existing popular social networksalready have billions of users, so the only way to... 阅读全文
posted @ 2014-05-30 18:47 Hust_BaoJia 阅读(161) 评论(0) 推荐(0) 编辑
摘要: DescriptionLet us consider sets of positive integers less than or equal ton. Note that all elements of a set are different. Also note that the order o... 阅读全文
posted @ 2014-05-30 18:44 Hust_BaoJia 阅读(254) 评论(0) 推荐(0) 编辑
摘要: DescriptionAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smalle... 阅读全文
posted @ 2014-05-30 08:38 Hust_BaoJia 阅读(174) 评论(0) 推荐(0) 编辑
努力