1758. Minimum Changes To Make Alternating Binary String-生成交替二进制字符串的最少操作数
You are given a string s consisting only of the charact... » 阅读全文
You are given a string s consisting only of the charact... » 阅读全文
Given an array nums, return true if the array was origi... » 阅读全文
给你一个整数数组nums。数组中唯一元素是那些只出现恰好一次的元素。 请你返回nums中唯一元素的和。 示例 ... » 阅读全文
You are working in a ball factory where you have n ball... » 阅读全文
You are given a string time in the form of hh:mm, where... » 阅读全文
There is a biker going on a road trip. The road trip co... » 阅读全文
给你一个数组rectangles,其中rectangles[i] = [l_i, w_i]表示第i个矩形的长度... » 阅读全文
There is a hidden integer array arr that consists of n ... » 阅读全文
Hercy wants to save money for his first car. He puts mo... » 阅读全文
You are assigned to put some amount of boxes onto one t... » 阅读全文