摘要: We are given head, the head node of a linked list containing unique integer values. We are also given the list G, a subset of the values in the linked 阅读全文
posted @ 2020-10-02 23:23 Schwifty 阅读(110) 评论(0) 推荐(0)
摘要: You are given a circular array nums of positive and negative integers. If a number k at an index is positive, then move forward k steps. Conversely, i 阅读全文
posted @ 2020-10-02 12:56 Schwifty 阅读(133) 评论(0) 推荐(0)
摘要: You are given a string text of words that are placed among some number of spaces. Each word consists of one or more lowercase English letters and are 阅读全文
posted @ 2020-10-02 10:48 Schwifty 阅读(286) 评论(0) 推荐(0)
摘要: Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the 阅读全文
posted @ 2020-10-02 06:39 Schwifty 阅读(293) 评论(0) 推荐(0)
摘要: You have a RecentCounter class which counts the number of recent requests within a certain time frame. Implement the RecentCounter class: RecentCounte 阅读全文
posted @ 2020-10-02 06:17 Schwifty 阅读(203) 评论(0) 推荐(0)