src/io/github/marwlod/baseball_elimination/BaseballElimination.java
// number of remaining games between team1 and team2
number of remaining games between team1 and team2
number of remaining games between team1 and team2
public int against(String team1, String team2) {
        if (team1 == null || team2 == null || teamIndexMap.get(team1) == null || teamIndexMap.get(team2) == null)
            throw new IllegalArgumentException("Both teams must be valid teams");
        return games[teamIndexMap.get(team1)][teamIndexMap.get(team2)];
    }
public int against ( String team1 , String team2 ) { if ( team1 == null || team2 == null || teamIndexMap . get ( team1 ) == null || teamIndexMap . get ( team2 ) == null ) throw new IllegalArgumentException ( "Both teams must be valid teams" ) ; return games [ teamIndexMap . get ( team1 ) ] [ teamIndexMap . get ( team2 ) ] ; }
number of remaining games between team1 and team2
number of remaining games between team1 and team2