Leetcode Daily Question
@leetcodeDailyQuestionChannel
2.46K
subscribers
517
files
2.16K
links
Why are you asking me to do Leetcode for this CSS job?
Download Telegram
Join
Leetcode Daily Question
2.46K subscribers
Leetcode Daily Question
leetcode.com
2025-09-27
🟢
812.largest-triangle-area
🏷️
Tags
#geometry
#array
#math
Telegraph
largest-triangle-area
Given an array of points on the X-Y plane points where points[i] = [xi, yi], return the area of the largest triangle that can be formed by any three different points. Answers within 10-5 of the actual answer will be accepted. Example 1: Input: points =…
Source
Solution
Leetcode Daily Question
leetcode.cn
2025-12-02
🟡
3623.count-number-of-trapezoids-i
🏷️
Tags
#geometry
#array
#hash_table
#math
Telegraph
count-number-of-trapezoids-i
给你一个二维整数数组 points,其中 points[i] = [xi, yi] 表示第 i 个点在笛卡尔平面上的坐标。 水平梯形 是一种凸四边形,具有 至少一对 水平边(即平行于 x 轴的边)。两条直线平行当且仅当它们的斜率相同。 返回可以从 points 中任意选择四个不同点组成的 水平梯形 数量。 由于答案可能非常大,请返回结果对 109 + 7 取余数后的值。 示例 1: 输入: points = [[1,0],[2,0],[3,0],[2,2],[3,2]] 输出: 3 解释: 有三种不…
来源
答案
Leetcode Daily Question
leetcode.com
2025-12-02
🟡
3623.count-number-of-trapezoids-i
🏷️
Tags
#geometry
#array
#hash_table
#math
Telegraph
count-number-of-trapezoids-i
You are given a 2D integer array points, where points[i] = [xi, yi] represents the coordinates of the ith point on the Cartesian plane. A horizontal trapezoid is a convex quadrilateral with at least one pair of horizontal sides (i.e. parallel to the x-axis).…
Source
Solution
Leetcode Daily Question
leetcode.cn
2025-12-03
🔴
3625.count-number-of-trapezoids-ii
🏷️
Tags
#geometry
#array
#hash_table
#math
Telegraph
count-number-of-trapezoids-ii
给你一个二维整数数组 points,其中 points[i] = [xi, yi] 表示第 i 个点在笛卡尔平面上的坐标。
来源
答案
Leetcode Daily Question
leetcode.com
2025-12-03
🔴
3625.count-number-of-trapezoids-ii
🏷️
Tags
#geometry
#array
#hash_table
#math
Telegraph
count-number-of-trapezoids-ii
You are given a 2D integer array points where points[i] = [xi, yi] represents the coordinates of the ith point on the Cartesian plane. Return the number of unique trapezoids that can be formed by choosing any four distinct points from points. A trapezoid…
Source
Solution