04 2020 档案

摘要:题目如下: Given the array nums, obtain a subsequence of the array whose sum of elements is strictly greater than the sum of the non included elements in s 阅读全文
posted @ 2020-04-25 08:56 seyjs 阅读(325) 评论(0) 推荐(0)
摘要:题目如下: Given an integer n. Each number from 1 to n is grouped according to the sum of its digits. Return how many groups have the largest size. Example 阅读全文
posted @ 2020-04-25 08:53 seyjs 阅读(412) 评论(0) 推荐(0)
摘要:题目如下: Implement the class UndergroundSystem that supports three methods: 1. checkIn(int id, string stationName, int t) A customer with id card equal t 阅读全文
posted @ 2020-04-04 13:55 seyjs 阅读(348) 评论(0) 推荐(0)
摘要:题目如下: There are n soldiers standing in a line. Each soldier is assigned a unique rating value. You have to form a team of 3 soldiers amongst them unde 阅读全文
posted @ 2020-04-04 13:41 seyjs 阅读(337) 评论(0) 推荐(0)
摘要:题目如下: Given an array of integers arr, a lucky integer is an integer which has a frequency in the array equal to its value. Return a lucky integer in t 阅读全文
posted @ 2020-04-04 13:30 seyjs 阅读(375) 评论(0) 推荐(0)