We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fee87e0 commit 0564097Copy full SHA for 0564097
1 file changed
otus-02/src/otus_02/homework/pangram.clj
@@ -1,6 +1,15 @@
1
(ns otus-02.homework.pangram
2
- (:require [clojure.string :as string]))
+ (:require [otus-02.homework.palindrome :as pal]))
3
4
+(def alphabet-count 26)
5
-(defn is-pangram [test-string])
6
+(defn is-pangram [test-string]
7
+ (-> test-string
8
+ (pal/transform-string)
9
+ (set)
10
+ (count)
11
+ (== alphabet-count)))
12
13
+(comment
14
+ (is-pangram "The quick brown fox jumps over the lazy dog")
15
+ )
0 commit comments