This repository contains a small “algorithm visualizer” style CLI app. When you run it, you choose a number from a menu (1–8) and the program prints test results for that algorithm. Each algorithm is ...
This problem is a clever 2D extension of the Largest Rectangle in Histogram problem. Instead of searching for 2D boundaries blindly, we can transform the matrix into a series of 1D histograms. We ...
Abstract: This paper presents a weighted surplus rectangle algorithm to solve two-dimensional non-guillotine rectangle packing problem. According to four weighting factors, including horizontal axis ...