- Slum Scholar
- Illness (seizures when enemies nearby)
- Thirst for knowledge
- Tell me more
- Resentful of ruling class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Exercise 1 | |
*/ | |
def pascal(c: Int, r: Int): Int = | |
if(r < 2 || c == 0 || c == r) 1 | |
else pascal(c, r-1) + pascal(c-1, r-1) | |
// TODO: fail on out of bounds | |
/** |