You are viewing a single comment's thread from:

RE: Software Engineer Interview Question – How to Improve Dynamic Programming Space Complexity? 进一步改进动态规化的空间复杂度

in #cn8 years ago

isn't there better ways to calculate a position in pascals triangle? i'm thinking n=x+y , r=y. return n!/r!(n-r)! (though my translation might be need fixing...haven't done anything like it in 2 decades)

Coin Marketplace

STEEM 0.09
TRX 0.30
JST 0.034
BTC 115986.97
ETH 4234.47
USDT 1.00
SBD 0.62