Problem: You are assigned to put some amount of boxes onto one truck. You are given a 2D array boxTypes, where boxTypes[i] = [numberOfBoxesi,...
Problem: You are given an array of people, people, which are the attributes of some people in a queue (not necessarily in order). Each people[i] =...
Problem: 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 ...
Problem: A decimal number is called deci-binary if each of its digits is either 0 or 1 without any leading zeros. For example, 101 and 1100 ...
Problem: There are several cards arranged in a row, and each card has an associated number of points. The points are given in the integer array ...
Problem: Given an array nums with n integers, your task is to check if it could become non-decreasing by modifying at most one element. We define...