You are viewing a single comment's thread. Return to all comments →
My solution in kotlin covering all the test cases
fun pangrams(s: String): String { val target = "abcdefghijklmnopqrstuvwxyz" val input = s.lowercase() for(ch in target) { if(!input.contains(ch)) return "not pangram" } return "pangram" }
Seems like cookies are disabled on this browser, please enable them to open this website
Pangrams
You are viewing a single comment's thread. Return to all comments →
My solution in kotlin covering all the test cases