Y
Hacker News
new
|
ask
|
show
|
jobs
by
nullc
1500 days ago
Ehhhh, it's O(n) when the string to be reversed is bounded under its input window.
Because of self-attention it would grow quadratically for larger inputs, no?