{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls/2","id":53505140,"html_url":"https://github.com/vinheim3/AdventOfCode/pull/2","diff_url":"https://github.com/vinheim3/AdventOfCode/pull/2.diff","patch_url":"https://github.com/vinheim3/AdventOfCode/pull/2.patch","issue_url":"https://api.github.com/repos/vinheim3/AdventOfCode/issues/2","number":2,"state":"open","locked":false,"title":"Day 13 solution","user":{"login":"vinheim3","id":15029675,"avatar_url":"https://avatars.githubusercontent.com/u/15029675?v=3","gravatar_id":"","url":"https://api.github.com/users/vinheim3","html_url":"https://github.com/vinheim3","followers_url":"https://api.github.com/users/vinheim3/followers","following_url":"https://api.github.com/users/vinheim3/following{/other_user}","gists_url":"https://api.github.com/users/vinheim3/gists{/gist_id}","starred_url":"https://api.github.com/users/vinheim3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinheim3/subscriptions","organizations_url":"https://api.github.com/users/vinheim3/orgs","repos_url":"https://api.github.com/users/vinheim3/repos","events_url":"https://api.github.com/users/vinheim3/events{/privacy}","received_events_url":"https://api.github.com/users/vinheim3/received_events","type":"User","site_admin":false},"body":"Non-brute force solution. All permutations are unique, as keeping a\r\nperson in the same place in the list prevents 1 permutation from being a\r\nrotated version of another permutation.","created_at":"2015-12-13T17:49:24Z","updated_at":"2015-12-13T17:49:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls/2/commits","review_comments_url":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls/2/comments","review_comment_url":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vinheim3/AdventOfCode/issues/2/comments","statuses_url":"https://api.github.com/repos/vinheim3/AdventOfCode/statuses/403321c6b619eff35850f4fdb85d48c159037b6e","head":{"label":"vinheim3:Day13","ref":"Day13","sha":"403321c6b619eff35850f4fdb85d48c159037b6e","user":{"login":"vinheim3","id":15029675,"avatar_url":"https://avatars.githubusercontent.com/u/15029675?v=3","gravatar_id":"","url":"https://api.github.com/users/vinheim3","html_url":"https://github.com/vinheim3","followers_url":"https://api.github.com/users/vinheim3/followers","following_url":"https://api.github.com/users/vinheim3/following{/other_user}","gists_url":"https://api.github.com/users/vinheim3/gists{/gist_id}","starred_url":"https://api.github.com/users/vinheim3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinheim3/subscriptions","organizations_url":"https://api.github.com/users/vinheim3/orgs","repos_url":"https://api.github.com/users/vinheim3/repos","events_url":"https://api.github.com/users/vinheim3/events{/privacy}","received_events_url":"https://api.github.com/users/vinheim3/received_events","type":"User","site_admin":false},"repo":{"id":47891032,"name":"AdventOfCode","full_name":"vinheim3/AdventOfCode","owner":{"login":"vinheim3","id":15029675,"avatar_url":"https://avatars.githubusercontent.com/u/15029675?v=3","gravatar_id":"","url":"https://api.github.com/users/vinheim3","html_url":"https://github.com/vinheim3","followers_url":"https://api.github.com/users/vinheim3/followers","following_url":"https://api.github.com/users/vinheim3/following{/other_user}","gists_url":"https://api.github.com/users/vinheim3/gists{/gist_id}","starred_url":"https://api.github.com/users/vinheim3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinheim3/subscriptions","organizations_url":"https://api.github.com/users/vinheim3/orgs","repos_url":"https://api.github.com/users/vinheim3/repos","events_url":"https://api.github.com/users/vinheim3/events{/privacy}","received_events_url":"https://api.github.com/users/vinheim3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vinheim3/AdventOfCode","description":"adventofcode.com challenges from Dec 1 to Dec 25","fork":false,"url":"https://api.github.com/repos/vinheim3/AdventOfCode","forks_url":"https://api.github.com/repos/vinheim3/AdventOfCode/forks","keys_url":"https://api.github.com/repos/vinheim3/AdventOfCode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vinheim3/AdventOfCode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vinheim3/AdventOfCode/teams","hooks_url":"https://api.github.com/repos/vinheim3/AdventOfCode/hooks","issue_events_url":"https://api.github.com/repos/vinheim3/AdventOfCode/issues/events{/number}","events_url":"https://api.github.com/repos/vinheim3/AdventOfCode/events","assignees_url":"https://api.github.com/repos/vinheim3/AdventOfCode/assignees{/user}","branches_url":"https://api.github.com/repos/vinheim3/AdventOfCode/branches{/branch}","tags_url":"https://api.github.com/repos/vinheim3/AdventOfCode/tags","blobs_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/refs{/sha}","trees_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vinheim3/AdventOfCode/statuses/{sha}","languages_url":"https://api.github.com/repos/vinheim3/AdventOfCode/languages","stargazers_url":"https://api.github.com/repos/vinheim3/AdventOfCode/stargazers","contributors_url":"https://api.github.com/repos/vinheim3/AdventOfCode/contributors","subscribers_url":"https://api.github.com/repos/vinheim3/AdventOfCode/subscribers","subscription_url":"https://api.github.com/repos/vinheim3/AdventOfCode/subscription","commits_url":"https://api.github.com/repos/vinheim3/AdventOfCode/commits{/sha}","git_commits_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/commits{/sha}","comments_url":"https://api.github.com/repos/vinheim3/AdventOfCode/comments{/number}","issue_comment_url":"https://api.github.com/repos/vinheim3/AdventOfCode/issues/comments{/number}","contents_url":"https://api.github.com/repos/vinheim3/AdventOfCode/contents/{+path}","compare_url":"https://api.github.com/repos/vinheim3/AdventOfCode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vinheim3/AdventOfCode/merges","archive_url":"https://api.github.com/repos/vinheim3/AdventOfCode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vinheim3/AdventOfCode/downloads","issues_url":"https://api.github.com/repos/vinheim3/AdventOfCode/issues{/number}","pulls_url":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls{/number}","milestones_url":"https://api.github.com/repos/vinheim3/AdventOfCode/milestones{/number}","notifications_url":"https://api.github.com/repos/vinheim3/AdventOfCode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vinheim3/AdventOfCode/labels{/name}","releases_url":"https://api.github.com/repos/vinheim3/AdventOfCode/releases{/id}","created_at":"2015-12-12T19:11:53Z","updated_at":"2015-12-12T19:12:06Z","pushed_at":"2015-12-13T17:49:23Z","git_url":"git://github.com/vinheim3/AdventOfCode.git","ssh_url":"git@github.com:vinheim3/AdventOfCode.git","clone_url":"https://github.com/vinheim3/AdventOfCode.git","svn_url":"https://github.com/vinheim3/AdventOfCode","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"AddChallenges"}},"base":{"label":"vinheim3:master","ref":"master","sha":"e0300656e1e928ed24a96a65ef072a0ff70deb9f","user":{"login":"vinheim3","id":15029675,"avatar_url":"https://avatars.githubusercontent.com/u/15029675?v=3","gravatar_id":"","url":"https://api.github.com/users/vinheim3","html_url":"https://github.com/vinheim3","followers_url":"https://api.github.com/users/vinheim3/followers","following_url":"https://api.github.com/users/vinheim3/following{/other_user}","gists_url":"https://api.github.com/users/vinheim3/gists{/gist_id}","starred_url":"https://api.github.com/users/vinheim3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinheim3/subscriptions","organizations_url":"https://api.github.com/users/vinheim3/orgs","repos_url":"https://api.github.com/users/vinheim3/repos","events_url":"https://api.github.com/users/vinheim3/events{/privacy}","received_events_url":"https://api.github.com/users/vinheim3/received_events","type":"User","site_admin":false},"repo":{"id":47891032,"name":"AdventOfCode","full_name":"vinheim3/AdventOfCode","owner":{"login":"vinheim3","id":15029675,"avatar_url":"https://avatars.githubusercontent.com/u/15029675?v=3","gravatar_id":"","url":"https://api.github.com/users/vinheim3","html_url":"https://github.com/vinheim3","followers_url":"https://api.github.com/users/vinheim3/followers","following_url":"https://api.github.com/users/vinheim3/following{/other_user}","gists_url":"https://api.github.com/users/vinheim3/gists{/gist_id}","starred_url":"https://api.github.com/users/vinheim3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinheim3/subscriptions","organizations_url":"https://api.github.com/users/vinheim3/orgs","repos_url":"https://api.github.com/users/vinheim3/repos","events_url":"https://api.github.com/users/vinheim3/events{/privacy}","received_events_url":"https://api.github.com/users/vinheim3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vinheim3/AdventOfCode","description":"adventofcode.com challenges from Dec 1 to Dec 25","fork":false,"url":"https://api.github.com/repos/vinheim3/AdventOfCode","forks_url":"https://api.github.com/repos/vinheim3/AdventOfCode/forks","keys_url":"https://api.github.com/repos/vinheim3/AdventOfCode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vinheim3/AdventOfCode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vinheim3/AdventOfCode/teams","hooks_url":"https://api.github.com/repos/vinheim3/AdventOfCode/hooks","issue_events_url":"https://api.github.com/repos/vinheim3/AdventOfCode/issues/events{/number}","events_url":"https://api.github.com/repos/vinheim3/AdventOfCode/events","assignees_url":"https://api.github.com/repos/vinheim3/AdventOfCode/assignees{/user}","branches_url":"https://api.github.com/repos/vinheim3/AdventOfCode/branches{/branch}","tags_url":"https://api.github.com/repos/vinheim3/AdventOfCode/tags","blobs_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/refs{/sha}","trees_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vinheim3/AdventOfCode/statuses/{sha}","languages_url":"https://api.github.com/repos/vinheim3/AdventOfCode/languages","stargazers_url":"https://api.github.com/repos/vinheim3/AdventOfCode/stargazers","contributors_url":"https://api.github.com/repos/vinheim3/AdventOfCode/contributors","subscribers_url":"https://api.github.com/repos/vinheim3/AdventOfCode/subscribers","subscription_url":"https://api.github.com/repos/vinheim3/AdventOfCode/subscription","commits_url":"https://api.github.com/repos/vinheim3/AdventOfCode/commits{/sha}","git_commits_url":"https://api.github.com/repos/vinheim3/AdventOfCode/git/commits{/sha}","comments_url":"https://api.github.com/repos/vinheim3/AdventOfCode/comments{/number}","issue_comment_url":"https://api.github.com/repos/vinheim3/AdventOfCode/issues/comments{/number}","contents_url":"https://api.github.com/repos/vinheim3/AdventOfCode/contents/{+path}","compare_url":"https://api.github.com/repos/vinheim3/AdventOfCode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vinheim3/AdventOfCode/merges","archive_url":"https://api.github.com/repos/vinheim3/AdventOfCode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vinheim3/AdventOfCode/downloads","issues_url":"https://api.github.com/repos/vinheim3/AdventOfCode/issues{/number}","pulls_url":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls{/number}","milestones_url":"https://api.github.com/repos/vinheim3/AdventOfCode/milestones{/number}","notifications_url":"https://api.github.com/repos/vinheim3/AdventOfCode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vinheim3/AdventOfCode/labels{/name}","releases_url":"https://api.github.com/repos/vinheim3/AdventOfCode/releases{/id}","created_at":"2015-12-12T19:11:53Z","updated_at":"2015-12-12T19:12:06Z","pushed_at":"2015-12-13T17:49:23Z","git_url":"git://github.com/vinheim3/AdventOfCode.git","ssh_url":"git@github.com:vinheim3/AdventOfCode.git","clone_url":"https://github.com/vinheim3/AdventOfCode.git","svn_url":"https://github.com/vinheim3/AdventOfCode","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"AddChallenges"}},"_links":{"self":{"href":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls/2"},"html":{"href":"https://github.com/vinheim3/AdventOfCode/pull/2"},"issue":{"href":"https://api.github.com/repos/vinheim3/AdventOfCode/issues/2"},"comments":{"href":"https://api.github.com/repos/vinheim3/AdventOfCode/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vinheim3/AdventOfCode/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/vinheim3/AdventOfCode/statuses/403321c6b619eff35850f4fdb85d48c159037b6e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":100,"deletions":0,"changed_files":2}}