Geometry: Easy to Hard Problems
Easy
- Valid Triangle Number (Determines if three sides can form a valid triangle)
- Rectangle Overlap (Checks if two rectangles overlap)
- Intersection of Two Arrays II (Finds the intersection of two arrays, considering duplicates)
- Rotate Image (Rotates a matrix by 90 degrees)
- Is Point on Line Segment (Determines if a point lies on a line segment)
Medium
- Largest Rectangle in Histogram (Finds the largest rectangle that can be formed in a histogram)
- 3D Surface Area (Calculates the surface area of 3D shapes based on their projections)
- Minimum Area Rectangle (Finds the minimum area of a rectangle formed by points in a grid)
- Find the Missing Point (Finds a missing point to complete a rectangle with given points)
- Count Number of Rectangles (Counts the number of possible rectangles from a list of lengths and widths)
Hard
- Maximal Rectangle (Finds the largest rectangle of 1s in a binary matrix)
- Minimum Enclosing Circle (Finds the smallest circle that encloses a set of points)
- Largest Divisible Subset (Finds the largest subset such that every pair in the subset is divisible)
- Polygon Area (Calculates the area of a polygon given its vertices)
- Point in Polygon (Determines if a point lies inside a given polygon)