While doing the program of minimum of teach two friends setup chars to use in the program
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```python []
class Solution(object):
    def minimumTeachings(self, n, languages, friendships):
        """
        :type n: int
        :type languages: List[List[int]]
        :type friendships: List[List[int]]
        :rtype: int
        """
        min_to_teach = len(languages)
        languages_set_list = [set(l) for l in languages]
        for current_language in range(1, n+1):
            to_teach = set()
            for brothers in friendships:
                l1, l2 = brothers
                if len(languages_set_list[l1-1].intersection(languages_set_list[l2-1]))>=1:
                    continue
                else:
                    if current_language not in languages[l1-1]:
                        to_teach.add(l1)
                    if current_language not in languages[l2-1]:
                        to_teach.add(l2)
            nb_of_friends_to_teach = len(to_teach)
            min_to_teach = min(nb_of_friends_to_teach, min_to_teach)
        return min_to_teach
```
['Python']