摘要: For two strings s and t, we say "t divides s" if and only if s = t + ... + t (i.e., t is concatenated with itself one or more times). Given two string 阅读全文
posted @ 2023-06-27 14:44 CNoodle 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, return the maximum sum for a non-empty subarray (contiguous elements) with at most one element deletion. In other words, y 阅读全文
posted @ 2023-06-27 13:43 CNoodle 阅读(19) 评论(0) 推荐(0) 编辑
摘要: You are given a 0-indexed integer array costs where costs[i] is the cost of hiring the ith worker. You are also given two integers k and candidates. W 阅读全文
posted @ 2023-06-27 11:13 CNoodle 阅读(137) 评论(0) 推荐(0) 编辑