Best shuffle: Difference between revisions

→‎{{header|Go}}: library changes
(→‎{{header|Java}}: arrays.aslist doesn't work on primitive arrays)
(→‎{{header|Go}}: library changes)
Line 1,194:
import (
"fmt"
"math/rand"
"time"
)
Line 1,201:
 
func main() {
rand.Seed(time.NanosecondsNow().UnixNano())
for _, s := range ts {
// create shuffled byte array of original string
1,707

edits