Update generics.sh with correct response (#500)

This commit is contained in:
Akhil Kumar 2023-12-09 13:22:58 -05:00 committed by GitHub
parent 461f6955d6
commit 6fdb46ead6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,7 @@
$ go run generics.go
keys: [4 1 2]
list: [10 13 23]
# Note: The order of iteration over map keys is not defined in Go,
# so different invocations may result in different orders.
# The output need not necessarily be keys: [1 2 4].