Block or Report
Block or report jshultz
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
Pascal's Triangle in Clojure
Pascal's Triangle in Clojure 1(defn next-row [row]
2(let [inner-section (mapv #(+ %1 %2) (butlast row) (rest row))]
3(cons 1 (conj inner-section 1))))
45(defn pascal
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.