Y
Hacker News
new
|
ask
|
show
|
jobs
by
singhrac
1928 days ago
The best solution is to use the O(log n) time exponentiation of a matrix, which is fast enough to be constant.