Number Of Rectangles That Can Form The Largest Square January 18, 2021 algorithms, geometry, math, python No Comments You are given an array rectangles where rectangles = represents the ith rectangle of length li and width wi. You can cut the ith rectangle to form a square … [Continue Reading...]
How to Compute the Surface Area of 3D Shapes (Cubes Placed on Grid Cells)? October 26, 2019 algorithms, c / c++, geometry No Comments On a N * N grid, we place some 1 * 1 * 1 cubes. Each value v = grid represents a tower of v cubes placed on top … [Continue Reading...]