<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css"> Skip to main content

In-place random list permutations

Loading...
Thumbnail Image

Journal Title

Journal ISSN

Volume Title

Publisher

DOI

10.1016/S0020-0190(99)00076-9

Abstract

We give two algorithms to randomly permute a linked list of length n in place using O(n log n) time and O(log n) stack space in both the expected case and the worst case. The first algorithm uses well-known sequential random sampling, and the second uses inverted sequential random sampling. (C) 1999 Published by Elsevier Science B.V. All rights reserved.

Description

Citation

Endorsement

Review

Supplemented By

Referenced By