Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/camilamaia/jornada-big-tech
/ area
Method
area
leetcode/src/ContainerWithMostWater.java:35–37 ·
view source on GitHub ↗
(int x1, int y1, int x2, int y2)
Source
from the content-addressed store, hash-verified
33
}
34
35
private
int
area(
int
x1,
int
y1,
int
x2,
int
y2) {
36
return
(x2 - x1) * Math.min(y1, y2);
37
}
38
}
Callers
1
maxArea
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected