MCPcopy Create free account
hub / github.com/dongyi-kim/10weeks-codingtest / getLargestRectangleArea

Method getLargestRectangleArea

chapter05/problem_c/Main.java:17–59  ·  view source on GitHub ↗

왼쪽에서 오른쪽으로 차례로 세워진 히스토그램들 내부에 만들 수 있는 최대의 직사각형 넓이를 계산하는 함수 @param n 히스토그램의 수 @param histograms 히스토그램이 차례로 저장된 배열 @return

(int n, Histogram[] histograms)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testCaseMethod · 0.95

Calls 4

peekMethod · 0.80
popMethod · 0.80
pushMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected