摘要:
题目如下: 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 阅读全文