(A)
| 92 | // Using Matrix exponentiation to find n-th fibonacci in O(log n) time |
| 93 | |
| 94 | const copyMatrix = (A) => { |
| 95 | return A.map((row) => row.map((cell) => cell)) |
| 96 | } |
| 97 | |
| 98 | const Identity = (size) => { |
| 99 | const isBigInt = typeof size === 'bigint' |
no outgoing calls
no test coverage detected