CCT: Add "Find Largest Rectangle in a Matrix" coding contract (#2519)

This commit is contained in:
Misha279-UA
2026-02-24 22:10:42 +02:00
committed by GitHub
parent 6626f0d5d1
commit c85d9cbe8c
7 changed files with 363 additions and 0 deletions
+2
View File
@@ -20,6 +20,7 @@ import { subarrayWithMaximumSum } from "./contracts/SubarrayWithMaximumSum";
import { totalPrimesInRange } from "./contracts/TotalPrimesInRange";
import { totalWaysToSum } from "./contracts/TotalWaysToSum";
import { uniquePathsInAGrid } from "./contracts/UniquePathsInAGrid";
import { largestRectangle } from "./contracts/LargestRectangle";
// This is the base interface, but should not be used for
// typechecking individual entries. Use the two types below for that.
@@ -114,6 +115,7 @@ export const CodingContractDefinitions: CodingContractTypes = {
...findLargestPrimeFactor,
...generateIPAddresses,
...hammingCode,
...largestRectangle,
...mergeOverlappingIntervals,
...minimumPathSumInATriangle,
...proper2ColoringOfAGraph,