Deviopath › Swift

Table-Driven Max

Hard · Testing

Return the largest value, or 0 if empty. Write maxOf(_:) as if each test row were a struct {in, want}.

Next: First Match