摘要: Given a string path, where path[i] = 'N', 'S', 'E' or 'W', each representing moving one unit north, south, east, or west, respectively. You start at t 阅读全文
posted @ 2020-06-29 22:55 Schwifty 阅读(281) 评论(0) 推荐(0)
摘要: Given a binary array nums, you should delete one element from it. Return the size of the longest non-empty subarray containing only 1's in the resulti 阅读全文
posted @ 2020-06-29 10:14 Schwifty 阅读(258) 评论(0) 推荐(0)
摘要: Given two positive integers n and k. A factor of an integer n is defined as an integer i where n % i == 0. Consider a list of all factors of n sorted 阅读全文
posted @ 2020-06-29 08:16 Schwifty 阅读(315) 评论(0) 推荐(0)
摘要: Given an array of unique integers salary where salary[i] is the salary of the employee i. Return the average salary of employees excluding the minimum 阅读全文
posted @ 2020-06-29 08:13 Schwifty 阅读(361) 评论(0) 推荐(0)