You are viewing a single comment's thread from:

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

in #cn7 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.18
TRX 0.14
JST 0.030
BTC 58679.35
ETH 3155.04
USDT 1.00
SBD 2.44