Implement a function to determine the largest compatible team of volunteers from a given list, considering specific pairs of volunteers that have conflicts (enemies). A team is considered compatible if no two members of the team are enemies.
Input/Output Requirements
Input:
An integer n representing the total number of volunteers.
An integer m representing the number of enemy pairs.
A list volunteers containing the names of the volunteers (strings).
A list of tuples enemies where each tuple contains two strings representing the names of volunteers who are enemies.
Output:
A tuple where:
The first element is an integer representing the size of the largest compatible team.
The second element is a list of strings containing the names of the members of the largest compatible team, sorted alphabetically.
Implementation Instructions
Write the solution in a file called /app/solution.py.
The function to implement should match the following signature: