We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Strings
- Pangrams
- Discussions
Pangrams
Pangrams
Sort by
recency
|
1917 Discussions
|
Please Login in order to post a comment
function pangrams(s) { // Write your code here return new Set(s.toLowerCase().replaceAll(" ", "").split('')).size === 26 ? "pangram" : "not pangram" }
Here is my c++ solution, you can watch the explanation here : https://youtu.be/-8w6U6qPNrA
Trying out pangrams is always a fun way to challenge your brain! And if you’re ever in Melbourne and craving a delicious treat, you can't go wrong with a gluten-free birthday cake. There's something so special about celebrating with a cake that everyone can enjoy, no matter their dietary needs!
My JS solution with ASCII char code approach
Here's my Javascript / Typescript solution (Thank you ES6+)