Last active
December 30, 2015 06:49
-
-
Save mroswell/7791903 to your computer and use it in GitHub Desktop.
social network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
friendNetwork = [ | |
{ Tom: ["Mary", "Adam", "Brian"]}, | |
{ Mary: ["Tom", "Jane", "Adam", "Elizabeth", "Brian", "Mary"]}, | |
{ Jane: ["Mary", "Peter", "Kimberly", "Emily", "Laura"]}, | |
{ Adam: ["Mary", "Tom", "Karen"]}, | |
{ Peter: ["Mary", "Jane"]}, | |
{ Elizabeth: ["Jennifer", "Mary"]}, | |
{ Jennifer: ["Elizabeth"]}, | |
{ Linda: ["Barbara"]}, | |
{ Barbara: ["Barbara" ]}, | |
{ Jessica: ["Dorothy"]}, | |
{ Dorothy: ["Jessica"]}, | |
{ Sarah: ["Karen"] }, | |
{ Karen: ["Sarah", "Adam"]}, | |
{ Kimberly: ["Jane"]}, | |
{ Emily: ["Jane"]}, | |
{ Laura: ["Jane", "Andrew"]}, | |
{ Andrew: ["Laura"]}, | |
{ Brian: ["Mary", "Tom", "Timothy"]}, | |
{ Timothy: ["Tom", "Brian", "Donna"]}, | |
{ Donna: ["Timothy","Mary"]} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment