Skip to content

Instantly share code, notes, and snippets.

@DavidGinzberg
Created October 20, 2015 18:35
Show Gist options
  • Save DavidGinzberg/bdf6a440ad68ea4cad9f to your computer and use it in GitHub Desktop.
Save DavidGinzberg/bdf6a440ad68ea4cad9f to your computer and use it in GitHub Desktop.

#HashTable exercise

In a new file create a hashtable mapping Strings to Integers

Add at least six values

print all the keys

print all the values

Iterate through the values two at a time and swap them.

Put a new value in an existing key and print the result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment