diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8f88f559f..39d8c14d1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3248,4 +3248,9 @@ #### Name: [Darshan Thakare](https://github.com/DarshanCode2005) - Place: Nashik, India - Bio: AI Engineer skilled in ML, DL and AI Agents -- Github: [DarshanCode2005](https://github.com/DarshanCode2005) \ No newline at end of file +- Github: [DarshanCode2005](https://github.com/DarshanCode2005) + +#### Name: [Shubhang Sagar Shukla](https://github.com/Shubhang-Sagar-Shukla) +- Place: Lucknoow, India +- Bio: Aspiring Mern full stack developer +- Github: [Shubhang Sagar Shukla](https://github.com/Shubhang-Sagar-Shukla) \ No newline at end of file diff --git a/Java/Check-Pangram.java b/Java/Check-Pangram.java new file mode 100644 index 000000000..6a6392ea7 --- /dev/null +++ b/Java/Check-Pangram.java @@ -0,0 +1,17 @@ +class Solution { + public boolean checkIfPangram(String sentence) { + boolean[] check= new boolean[26]; + int count=0; + for(char c : sentence.toCharArray()){ + int index= c-'a'; + if(!check[index]){ + check[index]=true; + count++; + } + if(count==26){ + return true; + } + } + return false; + } +} \ No newline at end of file