2 ms·
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?
by nullc 4y 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?