Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Short assignments to start the day off right.

Notifications You must be signed in to change notification settings

bjohn465/warmup-exercises

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warm-Up Exercises

Setup & Execution

Clone this repository.

git clone git@github.com:JumpstartLab/warmup-exercises.git

Ruby

$ \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
$ cd WARMUP
$ ruby WARMUP_test.rb

JavaScript & CoffeeScript

$ brew install node
$ npm install jasmine-node -g

Update the ~/.bash_profile to include NPM binary files on the PATH:

export PATH=/usr/local/share/npm/bin:$PATH
$ cd WARMUP
$ jasmine-node test.spec.js

Jasmine-Node favors JavaScript files over CoffeeScript (even with the differing file endings) so the test file named is named differently.

$ cd WARMUP
$ jasmine-node --coffee coffee.spec.coffee

Python

  • Install Python
$ brew install python
$ cd WARMUP
$ python WARMUP_test.py

Clojure

  • Install Leiningen:
$ brew install leiningen

Install lein-exec: edit ~/.lein/profiles.clj and add {:user {:plugins [[lein-exec "0.3.1"]]}}

  • If you installed lein-exec:
$ cd WARMUP
$ lein exec WARMUP.clj
  • If jar file downloaded, assuming clojure-1.5.1.jar
$ cd WARMUP
$ java -cp clojure-1.5.1.jar clojure.main WARMUP.clj

Haskell

Download and install a recent Haskell Platform (GHC) for your OS from haskell.org/platform. Linux distributions are likely to name this package haskell-platform.

$ cd WARMUP
$ runhaskell -Wall WARMUP.hs

Objective-C

  • Install Xcode (generally installed on Mac)
  • Install the Objc Test Runner
  • Install the xctool
$ gem install objc
$ brew install xctool
$ cd WARMUP
$ objc WARMUP

Suggested Order

  • bob
  • hamming
  • word-count
  • anagram
  • nucleotide-count
  • phone-number
  • grade-school
  • robot-name
  • leap
  • etl
  • meetup
  • space-age
  • grains
  • gigasecond
  • triangle
  • scrabble-score
  • roman-numerals
  • binary
  • prime-factors
  • raindrops
  • allergies
  • strain
  • atbash-cipher
  • accumulate
  • crypto-square
  • trinary
  • rna-transcription
  • sieve
  • simple-cipher
  • octal
  • luhn
  • pig-latin
  • pythagorean-triplet
  • series
  • difference-of-squares
  • secret-handshake
  • linked-list
  • wordy
  • hexadecimal
  • largest-series-product
  • kindergarten-garden
  • binary-search-tree
  • matrix
  • robot-simulator
  • nth-prime
  • palindrome-products
  • pascals-triangle
  • say
  • beer-song
  • sum-of-multiples
  • queen-attack
  • saddle-points
  • ocr-numbers
  • simple-linked-list
  • linked-list
  • point-mutations

About

Short assignments to start the day off right.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 22.3%
  • Haskell 21.2%
  • Ruby 20.5%
  • Elixir 8.4%
  • Clojure 8.0%
  • Python 6.2%
  • Other 13.4%