Searched refs:heightsRow (Results 1 – 1 of 1) sorted by relevance
94 static Rectangle maxSubRectangle(int[] heightsRow, int index) { in maxSubRectangle() argument98 for (int i = 0; i < heightsRow.length; i++) { in maxSubRectangle()99 while (!stack.isEmpty() && heightsRow[stack.peek()] > heightsRow[i]) { in maxSubRectangle()100 int height = heightsRow[stack.pop()]; in maxSubRectangle()113 int height = heightsRow[stack.pop()]; in maxSubRectangle()115 stack.isEmpty() ? heightsRow.length : (heightsRow.length - stack.peek() - 1); in maxSubRectangle()