Jump to content

Index finite lists of positive integers: Difference between revisions

adding extra credit
(→‎{{header|Python}}: "out" was not defined. Probably meant "s")
(adding extra credit)
Line 8:
 
Demonstrate your solution by picking a random-length list of random positive integers, turn it into an integer and get the list back.
 
 
'''Extra credit''':
 
Make rank as a [[wp:bijection|bijection]] and show unrank(n) for n varying from 0 to 10.
 
=={{header|D}}==
1,934

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.