Check if the given string S is a Panagram or not. A pangram is a sentence containing every letter in the English Alphabet.
Input: S = "Pack mY box witH fIve dozen liquor jugs" Output: 1 Explanation: Given string contains all English Alphabets.
Input: S = "geeksFORgeeks" Output: 1 Explanation: Given string does not contain all English Alphabets.
You don't need to read input or print anything. Your task is to complete the function isPanagram() which takes the string as inputs and returns 1 if the given string is panagram, otherwise 0.
Expected Time Complexity: O(N)
Expected Auxiliary Space: O(constant)
1 ≤ |S| ≤ 105
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.