
HackerRank
文章平均质量分 83
Mr_Treeeee
这个作者很懒,什么都没留下…
展开
-
HackerRank Hiring Contest - B Winning Lottery Ticket
The SuperBowl Lottery is about to commence, and there are several lottery tickets being sold, and each ticket is identified with a ticket ID. In one of the many winning scenarios in the Superbowl lott原创 2018-01-26 23:30:43 · 879 阅读 · 0 评论 -
HackerRank Hiring Contest - C The Simplest Sum
You are just learning to code and are finished with loops and functions. Now, you are given the following pseudocode:/* * The function has two integer parameters: k and n * The function returns原创 2018-01-26 23:34:27 · 367 阅读 · 0 评论 -
HackerRank Hiring Contest - D Array and Queries (单调栈思想)
Given an array, you are asked to perform a number of queries and divide the array into what are called, beautifulsubsequences. The array has length . A function is defined to be a minimal原创 2018-01-26 23:46:46 · 336 阅读 · 0 评论