1、哈希表做法
class Solution {
public:
bool checkIfPangram(string sentence) {
bool hash[26]={0};
for(int i=0;sentence[i];++i) hash[sentence[i]-'a']=true;
for(int i=0;i<26;++i) if(!hash[i]) return false;
return true;
}
};