LeetCode 963: Minimum Area Rectangle II
A clear explanation of finding the minimum-area rectangle from points when the rectangle may be rotated.
29 notes
A clear explanation of finding the minimum-area rectangle from points when the rectangle may be rotated.
A clear explanation of the Rectangle Overlap problem using axis projections and positive intersection area.
A clear explanation of computing the exposed surface area of stacked cubes by adding tower area and subtracting shared faces.
A clear explanation of computing the projection areas of stacked cubes from top, front, and side views.
A clear explanation of Mirror Reflection using room unfolding, least common multiples, and parity.
A clear explanation of solving Minimum Area Rectangle using diagonal point pairs and constant-time point lookup.
A geometry solution for finding the largest triangle area by checking every triplet of points with the cross product formula.
A clear explanation of deciding whether escape is possible by comparing Manhattan distances to the target.
A clear explanation of counting distinct island shapes under rotation and reflection using normalization and geometric transformations.
A SQL guide for finding the minimum Euclidean distance between any two points in a 2D plane.
A clear geometry solution for checking whether four unordered points form a valid square.
A clear convex hull solution for returning all trees that lie on the fence boundary.
A clear explanation of uniformly picking an integer point from non-overlapping rectangles using prefix sums and binary search.
A clear explanation of generating uniformly random points inside a circle using polar coordinates.
A clear explanation of checking whether ordered points form a convex polygon using cross products.
Count ordered boomerang tuples by fixing each point as the center and grouping other points by squared distance.
A clear explanation of checking whether many small axis-aligned rectangles form one exact rectangular cover using area and corner parity.
A clear explanation of checking whether 2D points are symmetric around a vertical line using min and max x-coordinates.
A clear explanation of Self Crossing using constant-space checks for the only possible crossing patterns.
A clear explanation of computing the total covered area of two axis-aligned rectangles by subtracting their overlap.
A clear explanation of computing the skyline formed by buildings using sweep line and a max-heap.
Find the maximum number of points lying on the same straight line using slope counting and normalization.
KD-trees, R-trees, quadtrees, octrees, Delaunay triangulation, Voronoi diagrams, HNSW, range trees, and sweep line structures.
Search for nearest or range points in k-dimensional space using recursive axis splitting.
Search for all points within a multidimensional range using layered balanced search trees.
Examples of first order structures from algebra, order theory, graph theory, and geometry.
This volume studies smooth geometric structures using calculus.
This volume studies convex sets, polytopes, and discrete geometric structures.
This volume studies geometric structures, transformations, and invariants.