Title: | In-place random list permutations |
Authors: | Hwang, WP Wang, CL 資訊工程學系 Department of Computer Science |
Keywords: | algorithms;data structures |
Issue Date: | 30-Jun-1999 |
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. |
URI: | http://dx.doi.org/10.1016/S0020-0190(99)00076-9 http://hdl.handle.net/11536/31273 |
ISSN: | 0020-0190 |
DOI: | 10.1016/S0020-0190(99)00076-9 |
Journal: | INFORMATION PROCESSING LETTERS |
Volume: | 70 |
Issue: | 6 |
Begin Page: | 255 |
End Page: | 257 |
Appears in Collections: | Articles |
Files in This Item:
If it is a zip file, please download the file and unzip it, then open index.html in a browser to view the full text content.