Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
number factor memoised
mem={} def numF(num): if num in mem: return mem[num] if num in (0,1,2): return 1 if num==3: return 2 else: op1=numF(num-4)+numF(num-3)+numF(num-1) mem[num]=op1 return op1 print(numF(12))
run
|
edit
|
history
|
help
1
inverse matrix gauss jordan
Pure Python Square root without using Math.sqrt()
try123
Prime_list
Rishika
montecarlo
repeat string
print
Sum of subsets (Python)
mat