Add killer-sudoku-helper exercise#787
Conversation
721fa24 to
1cc481e
Compare
tasxatzial
left a comment
There was a problem hiding this comment.
Just by looking at the description and your solution, i would bump the difficulty to 5 or 6.
Prerequisites: conditionals, vectors or lists (or both), maybe numbers.
Function parameters: All 3 parameters are cage parameters. The general guideline in Clojure is to provide them as a map. So the input would look like {:sum 5 :size 1 :exclude []}. This will also allow practicing map destructuring.
1cc481e to
c28edc0
Compare
c28edc0 to
61e8cd1
Compare
|
Updated! |
tasxatzial
left a comment
There was a problem hiding this comment.
To keep it simple for future exercises, please disregard what i said here about maps as general guideline. Let's just say we picked maps because it matches the canonical-data and it was a good opportunity for practicing maps. Another good option here would be to use a multi-arity function, with the exclude parameter being optional.
|
Let's keep multi arity functions in mind to find an opportunity to use them! |
No description provided.