Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
throwaput
· 9y ago · 0 comments
Even for power of two it's not correct, forget my statement about cycles.
Comments
[–]
throwaput
OP
9y ago
Yet I have only one idea - that we can permute the elements somehow (in a O(1) reversible way like a Gray code) so that the cycles would form something computable in O(n) time and O(1) space