摘要:
题目如下: LeetCode company workers use key-cards to unlock office doors. Each time a worker uses their key-card, the security system saves the worker's na 阅读全文
摘要:
题目如下: A string s is called good if there are no two different characters in s that have the same frequency. Given a string s, return the minimum numbe 阅读全文
摘要:
题目如下: You are given an integer n. A 0-indexed integer array nums of length n + 1 is generated in the following way: nums[0] = 0 nums[1] = 1 nums[2 * i 阅读全文
摘要:
题目如下: Design a queue that supports push and pop operations in the front, middle, and back. Implement the FrontMiddleBack class: FrontMiddleBack() Init 阅读全文
摘要:
题目如下: You are given two linked lists: list1 and list2 of sizes n and m respectively. Remove list1's nodes from the ath node to the bth node, and put l 阅读全文
摘要:
题目如下: For a string sequence, a string word is k-repeating if word concatenated k times is a substring of sequence. The word's maximum k-repeating valu 阅读全文
摘要:
题目如下: You are given an integer array nums. You can choose exactly one index (0-indexed) and remove the element. Notice that the index of the elements 阅读全文
摘要:
题目如下: The numeric value of a lowercase character is defined as its position (1-indexed) in the alphabet, so the numeric value of a is 1, the numeric v 阅读全文
摘要:
题目如下: Given two string arrays word1 and word2, return true if the two arrays represent the same string, and false otherwise. A string is represented b 阅读全文
摘要:
题目如下: You are given an m x n integer grid accounts where accounts[i][j] is the amount of money the ith customer has in the j 阅读全文