(ns kata) (use 'clojure.string) (defn solution [strng ending] (ends-with? strng ending) ) ;; alternatively, we can define as alias ;; (def solution clojure.string/ends-with?)