JAVA || SET || 2 LINE CODE
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\nturn string into character array and then put those values into SET and a
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\nturn string into **character array** and then put those values into **SET** and as we know that SET doesn\'t contain duplicate values, so after putting values in set, if the **size of set is less than 26,** then it is false, because english alpahbeth has 26 letters.\n\n# Code\n```\nclass Solution {\n    public boolean checkIfPangram(String sentence) {\n        char[] ch = sentence.toCharArray();\n        Set<Character> s = new HashSet<>();\n        for(char c:ch) s.add(c);\n        return set.size() >= 26;\n        \n    }\n}\n```
['Java']