摘要: 难度 中等 题目 Leetcode: 752.Open the Lock You have a lock in front of you with 4 circular wheels. Each wheel has 10 slots: '0', '1', '2', '3', '4', '5', '6 阅读全文
posted @ 2021-07-22 19:38 伊莉雅碳 阅读(36) 评论(0) 推荐(0)
摘要: 难度 1700 题目 CodeForces: D. Flowers time limit per test 1.5 seconds memory limit per test 256 megabytes We saw the little game Marmot made for Mole's lu 阅读全文
posted @ 2021-07-21 10:37 伊莉雅碳 阅读(53) 评论(0) 推荐(0)
摘要: 难度 1300 题目 CodeForces: C. Registration system time limit per test 5 seconds memory limit per test 64 megabytes A new e-mail service "Berlandesk" is go 阅读全文
posted @ 2021-07-20 21:13 伊莉雅碳 阅读(64) 评论(0) 推荐(0)
摘要: 难度 中等 题目 Leetcode: 1838. Frequency of the Most Frequent Element The frequency of an element is the number of times it occurs in an array. You are give 阅读全文
posted @ 2021-07-19 03:36 伊莉雅碳 阅读(39) 评论(0) 推荐(0)
摘要: 难度 中等 题目 Leetcode: 面试题 10.02. Group Anagrams LCCI Write a method to sort an array of strings so that all the anagrams are in the same group. Example I 阅读全文
posted @ 2021-07-18 10:38 伊莉雅碳 阅读(23) 评论(0) 推荐(0)
摘要: 难度 1500 题目 CodeForces: Boredom time limit per test 1 second memory limit per test 256 megabytes Alex doesn't like boredom. That's why whenever he gets 阅读全文
posted @ 2021-07-17 22:25 伊莉雅碳 阅读(68) 评论(0) 推荐(0)
摘要: 难度 简单 题目 Leetcode: 剑指Offer 53 - Ⅰ. 在排序数组中查找数字 统计一个数字在排序数组中出现的次数。 0 <= array.length() <= 50000 题目解析: 懒得解析了,直接map记录,直接输出 以下为参考代码 class Solution { public 阅读全文
posted @ 2021-07-16 09:07 伊莉雅碳 阅读(27) 评论(0) 推荐(0)
摘要: 难度 中等 题目 Leetcode: 1846.Maximum Element After Decreasing and Rearranging You are given an array of positive integers arr. Perform some operations (pos 阅读全文
posted @ 2021-07-15 14:52 伊莉雅碳 阅读(36) 评论(0) 推荐(0)
摘要: 难度 1300 题目 CodeForces: IQ test time limit per test 2 seconds memory limit per test 256 megabytes Bob is preparing to pass IQ test. The most frequent t 阅读全文
posted @ 2021-07-15 13:15 伊莉雅碳 阅读(97) 评论(0) 推荐(0)
摘要: 难度 1200 题目 CodeForces: Vanya and Lanterns time limit per test 1 second memory limit per test 256 megabytes Vanya walks late at night along a straight 阅读全文
posted @ 2021-07-13 22:37 伊莉雅碳 阅读(1) 评论(0) 推荐(0)