March 2014 update
This commit is contained in:
parent
09687c4926
commit
a25938f123
1846 changed files with 21876 additions and 5203 deletions
|
|
@ -12,7 +12,7 @@
|
|||
(de catalanRec (N)
|
||||
(if (=0 N)
|
||||
1
|
||||
(cache '(NIL) (pack (char (hash N)) N) # Memoize
|
||||
(cache '(NIL) N # Memoize
|
||||
(sum
|
||||
'((I) (* (catalanRec I) (catalanRec (- N I 1))))
|
||||
(range 0 (dec N)) ) ) ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue