Algorithm to print out a shuffled list, in-place and with O(1) memory

后端 未结 10 1415
野趣味
野趣味 2020-12-09 11:51

After reading this question I started to wonder: is it possible to have a shuffling algorithm which does not modify or copy the original list?

To make it clear:

10条回答
提交回复
热议问题