C++ || 0ms || Short & Simple Code || ✅⭐⭐
DO UPVOTE IF IT HELPS !!!!\n\n--------------------------------------------------------\n\nIntuition 1 - Using a frequency vector store to store count and then t
***DO UPVOTE IF IT HELPS !!!!***\n\n--------------------------------------------------------\n\n**Intuition 1 -** Using a frequency vector store to store count and then traversing it to check for any 0 occurence.\n\n\tbool checkIfPangram(string sentence) {\n        \n        vector<int> freq(26);                      //create a frequency vector \n        \n        for(auto ch:sentence) freq[ch-\'a\']++;      //update count of each character\n        \n        for(auto it:freq){                         //traverse freq vector\n            if(it==0) return false;                //if any aplhabet\'s occurence is 0\n        }                                          //return false;\n        return true;\n    }\n\t\n---------------------------------------------------\n\n**Intuition 2 -** Using a hash set, push all characters of the given string into hash set and check if set\'s size == 26\n\t\n\tbool checkIfPangram(string sentence) {\n        \n        unordered_set<char> st (sentence.begin(), sentence.end());         //push all characters of string into set\n        return st.size()==26;                                              //check if it\'s size = 26 or not\n\t\n\t}\n\t\n
['C']