Go Are Equally Strong
func areEquallyStrong(yourLeft, yourRight, friendsLeft, friendsRight int) bool {
return max(yourRight, yourLeft) == max(friendsLeft, friendsRight) &&
min(yourLeft, yourRight) == min(friendsRight, friendsLeft)
}
This compares each person’s strongest and weakest arm. If both pairs match, the result is true.