1748. Sum of Unique Elements

作者:sryan 更新时间:2021-03-09 18:33 分类:数据结构与算法

You are given an integer array nums. The unique elements of an array are the elements that appear ex...

点击数:422 回复数:0

1742. Maximum Number of Balls in a Box

作者:sryan 更新时间:2021-03-09 18:25 分类:数据结构与算法

You are working in a ball factory where you have n balls numbered from lowLimit up to highLimit incl...

点击数:1107 回复数:0

1736. Latest Time by Replacing Hidden Digits

作者:sryan 更新时间:2021-03-09 17:25 分类:数据结构与算法

You are given a string time in the form of hh:mm, where some of the digits in the string are hidden ...

点击数:424 回复数:0

1732. Find the Highest Altitude

作者:sryan 更新时间:2021-03-09 17:07 分类:数据结构与算法

There is a biker going on a road trip. The road trip consists of n + 1 points at different altitudes...

点击数:378 回复数:0

1725. Number Of Rectangles That Can Form The Largest Square

作者:sryan 更新时间:2021-03-09 16:55 分类:数据结构与算法

You are given an array rectangles where rectangles[i] = [li, wi] represents the ith rectangle of len...

点击数:337 回复数:0

1720. Decode XORed Array

作者:sryan 更新时间:2021-03-09 16:39 分类:数据结构与算法

There is a hidden integer array arr that consists of n non-negative integers. It was encoded into an...

点击数:394 回复数:0

1716. Calculate Money in Leetcode Bank

作者:sryan 更新时间:2021-03-09 16:28 分类:数据结构与算法

Hercy wants to save money for his first car. He puts money in the Leetcode bank every day. He starts...

点击数:517 回复数:0

1710. Maximum Units on a Truck

作者:sryan 更新时间:2021-03-09 16:14 分类:数据结构与算法

You are assigned to put some amount of boxes onto one truck. You are given a 2D array boxTypes, wher...

点击数:358 回复数:0

1704. Determine if String Halves Are Alike

作者:sryan 更新时间:2021-03-09 15:46 分类:数据结构与算法

You are given a string s of even length. Split this string into two halves of equal lengths, and let...

点击数:304 回复数:0

1700. Number of Students Unable to Eat Lunch

作者:sryan 更新时间:2021-03-09 15:32 分类:数据结构与算法

The school cafeteria offers circular and square sandwiches at lunch break, referred to by numbers 0 ...

点击数:307 回复数:0