- Chicago Javascript meet up group
- Frontend developers slack
- Design.football meetup/slack
- Complete an in-depth online React course
(ns coin-changer.core) | |
(def coins [25 10 5 1]) | |
(defn find-max-coin [cents] | |
(loop [possible-coins coins] | |
(if (>= cents (first possible-coins)) | |
(first possible-coins) | |
(recur (rest possible-coins))))) |
(ns coin-changer-speclj.core) | |
(def coins [25 10 5 1]) | |
(defn find-max-coin [cents] | |
(loop [possible-coins coins] | |
(if (>= cents (first possible-coins)) | |
(first possible-coins) | |
(recur (rest possible-coins))))) |
(deftest returns-empty | |
(testing "Coin changer returns an empty collection if no cents are given" | |
(is (empty? (make-change 0))))) | |
(deftest returns-1-penny | |
(testing "Coin changer returns 1 penny if 1 cents are given" | |
(is (= [1] (make-change 1))))) | |
(deftest returns-2-pennies | |
(testing "Coin changer returns 2 pennies if 2 cents are given" |
(describe "coin changer" | |
(describe "make-change" | |
(it "returns an empty collection if 0 cents are given" | |
(should= (make-change 0) [])) | |
(it "returns a penny if 1 cents are given" | |
(should= (make-change 1) [1])) |
language: clojure | |
script: lein spec |
- [Explorers] Break each of your cohort goals down: what could you do in the next 1 month towards that goal? in the next week? in the next day? Track whether you've completed each daily/weekly goal.
POST /account/initiate | |
{ | |
"firstName": "John", | |
"lastName": "Smith", | |
"birthDate": "1975-02-28T00:00:00.000-00:00", | |
"gender": "M", | |
"taxId": "112223333", | |
"isSubjectToBackupWithholding": "false", | |
"isOptedInToBankCommunication": "true", |
POST /customer/verify | |
{ | |
"customerId": 298991, | |
"verificationId": "1691656139", | |
"answers": [ | |
{ | |
"questionType": "time.at.current.address", | |
"questionAnswer": "Over 5 years" | |
}, |
{ | |
"customerId": 298991, | |
"name": "My fund", | |
"type": "Checking" | |
} |