{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls/40","id":185604539,"html_url":"https://github.com/jayadams011/data-structures-and-algorithms/pull/40","diff_url":"https://github.com/jayadams011/data-structures-and-algorithms/pull/40.diff","patch_url":"https://github.com/jayadams011/data-structures-and-algorithms/pull/40.patch","issue_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues/40","number":40,"state":"closed","locked":false,"title":"Left join","user":{"login":"jayadams011","id":32779194,"avatar_url":"https://avatars2.githubusercontent.com/u/32779194?v=4","gravatar_id":"","url":"https://api.github.com/users/jayadams011","html_url":"https://github.com/jayadams011","followers_url":"https://api.github.com/users/jayadams011/followers","following_url":"https://api.github.com/users/jayadams011/following{/other_user}","gists_url":"https://api.github.com/users/jayadams011/gists{/gist_id}","starred_url":"https://api.github.com/users/jayadams011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayadams011/subscriptions","organizations_url":"https://api.github.com/users/jayadams011/orgs","repos_url":"https://api.github.com/users/jayadams011/repos","events_url":"https://api.github.com/users/jayadams011/events{/privacy}","received_events_url":"https://api.github.com/users/jayadams011/received_events","type":"User","site_admin":false},"body":"- [x] Write a function that LEFT JOINs two hashmaps into a single data structure.\r\n- [x] The first parameter is a hashmap that has word strings as keys, and a synonym of the key as values.\r\n- [x] The second parameter is a hashmap that has word strings as keys, and antonyms of the key as values.\r\n- [x] Combine the key and corresponding values (if they exist) into a new data structure according to LEFT JOIN logic.\r\n- [x] LEFT JOIN means all the values in the first hashmap are returned, and if values exist in the “right” hashmap, they are appended to the result row. If no values exist in the right hashmap, then some flavor of NULL should be appended to the result row.\r\n- [x] The returned data structure that holds the results is up to you. It doesn’t need to exactly match the output below, so long as it achieves the LEFT JOIN logic.\r\n- [x] Avoid utilizing any of the library methods available to your language.\r\n","created_at":"2018-05-03T02:24:42Z","updated_at":"2018-05-07T20:33:42Z","closed_at":"2018-05-07T20:33:42Z","merged_at":"2018-05-07T20:33:42Z","merge_commit_sha":"da91b33fc753fb42a9995e114c4766ccc5bc364c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls/40/commits","review_comments_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls/40/comments","review_comment_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues/40/comments","statuses_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/statuses/2961cac13c2e9a734a7b4870bca5871a3e03768e","head":{"label":"jayadams011:left_join","ref":"left_join","sha":"2961cac13c2e9a734a7b4870bca5871a3e03768e","user":{"login":"jayadams011","id":32779194,"avatar_url":"https://avatars2.githubusercontent.com/u/32779194?v=4","gravatar_id":"","url":"https://api.github.com/users/jayadams011","html_url":"https://github.com/jayadams011","followers_url":"https://api.github.com/users/jayadams011/followers","following_url":"https://api.github.com/users/jayadams011/following{/other_user}","gists_url":"https://api.github.com/users/jayadams011/gists{/gist_id}","starred_url":"https://api.github.com/users/jayadams011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayadams011/subscriptions","organizations_url":"https://api.github.com/users/jayadams011/orgs","repos_url":"https://api.github.com/users/jayadams011/repos","events_url":"https://api.github.com/users/jayadams011/events{/privacy}","received_events_url":"https://api.github.com/users/jayadams011/received_events","type":"User","site_admin":false},"repo":{"id":126115668,"name":"data-structures-and-algorithms","full_name":"jayadams011/data-structures-and-algorithms","owner":{"login":"jayadams011","id":32779194,"avatar_url":"https://avatars2.githubusercontent.com/u/32779194?v=4","gravatar_id":"","url":"https://api.github.com/users/jayadams011","html_url":"https://github.com/jayadams011","followers_url":"https://api.github.com/users/jayadams011/followers","following_url":"https://api.github.com/users/jayadams011/following{/other_user}","gists_url":"https://api.github.com/users/jayadams011/gists{/gist_id}","starred_url":"https://api.github.com/users/jayadams011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayadams011/subscriptions","organizations_url":"https://api.github.com/users/jayadams011/orgs","repos_url":"https://api.github.com/users/jayadams011/repos","events_url":"https://api.github.com/users/jayadams011/events{/privacy}","received_events_url":"https://api.github.com/users/jayadams011/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jayadams011/data-structures-and-algorithms","description":"White boarding data-structures-and-algorithms","fork":false,"url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms","forks_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/forks","keys_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/teams","hooks_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/hooks","issue_events_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/events","assignees_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/tags","blobs_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/languages","stargazers_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/stargazers","contributors_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/contributors","subscribers_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/subscribers","subscription_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/subscription","commits_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/merges","archive_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/downloads","issues_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/labels{/name}","releases_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/deployments","created_at":"2018-03-21T03:06:21Z","updated_at":"2018-05-01T17:10:51Z","pushed_at":"2018-05-07T20:33:42Z","git_url":"git://github.com/jayadams011/data-structures-and-algorithms.git","ssh_url":"git@github.com:jayadams011/data-structures-and-algorithms.git","clone_url":"https://github.com/jayadams011/data-structures-and-algorithms.git","svn_url":"https://github.com/jayadams011/data-structures-and-algorithms","homepage":null,"size":98962,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"jayadams011:master","ref":"master","sha":"895bec711af9cbfd916f3624b6e6d787bbd8a18b","user":{"login":"jayadams011","id":32779194,"avatar_url":"https://avatars2.githubusercontent.com/u/32779194?v=4","gravatar_id":"","url":"https://api.github.com/users/jayadams011","html_url":"https://github.com/jayadams011","followers_url":"https://api.github.com/users/jayadams011/followers","following_url":"https://api.github.com/users/jayadams011/following{/other_user}","gists_url":"https://api.github.com/users/jayadams011/gists{/gist_id}","starred_url":"https://api.github.com/users/jayadams011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayadams011/subscriptions","organizations_url":"https://api.github.com/users/jayadams011/orgs","repos_url":"https://api.github.com/users/jayadams011/repos","events_url":"https://api.github.com/users/jayadams011/events{/privacy}","received_events_url":"https://api.github.com/users/jayadams011/received_events","type":"User","site_admin":false},"repo":{"id":126115668,"name":"data-structures-and-algorithms","full_name":"jayadams011/data-structures-and-algorithms","owner":{"login":"jayadams011","id":32779194,"avatar_url":"https://avatars2.githubusercontent.com/u/32779194?v=4","gravatar_id":"","url":"https://api.github.com/users/jayadams011","html_url":"https://github.com/jayadams011","followers_url":"https://api.github.com/users/jayadams011/followers","following_url":"https://api.github.com/users/jayadams011/following{/other_user}","gists_url":"https://api.github.com/users/jayadams011/gists{/gist_id}","starred_url":"https://api.github.com/users/jayadams011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayadams011/subscriptions","organizations_url":"https://api.github.com/users/jayadams011/orgs","repos_url":"https://api.github.com/users/jayadams011/repos","events_url":"https://api.github.com/users/jayadams011/events{/privacy}","received_events_url":"https://api.github.com/users/jayadams011/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jayadams011/data-structures-and-algorithms","description":"White boarding data-structures-and-algorithms","fork":false,"url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms","forks_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/forks","keys_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/teams","hooks_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/hooks","issue_events_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/events","assignees_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/tags","blobs_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/languages","stargazers_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/stargazers","contributors_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/contributors","subscribers_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/subscribers","subscription_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/subscription","commits_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/merges","archive_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/downloads","issues_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/labels{/name}","releases_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/deployments","created_at":"2018-03-21T03:06:21Z","updated_at":"2018-05-01T17:10:51Z","pushed_at":"2018-05-07T20:33:42Z","git_url":"git://github.com/jayadams011/data-structures-and-algorithms.git","ssh_url":"git@github.com:jayadams011/data-structures-and-algorithms.git","clone_url":"https://github.com/jayadams011/data-structures-and-algorithms.git","svn_url":"https://github.com/jayadams011/data-structures-and-algorithms","homepage":null,"size":98962,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls/40"},"html":{"href":"https://github.com/jayadams011/data-structures-and-algorithms/pull/40"},"issue":{"href":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues/40"},"comments":{"href":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/jayadams011/data-structures-and-algorithms/statuses/2961cac13c2e9a734a7b4870bca5871a3e03768e"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jayadams011","id":32779194,"avatar_url":"https://avatars2.githubusercontent.com/u/32779194?v=4","gravatar_id":"","url":"https://api.github.com/users/jayadams011","html_url":"https://github.com/jayadams011","followers_url":"https://api.github.com/users/jayadams011/followers","following_url":"https://api.github.com/users/jayadams011/following{/other_user}","gists_url":"https://api.github.com/users/jayadams011/gists{/gist_id}","starred_url":"https://api.github.com/users/jayadams011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayadams011/subscriptions","organizations_url":"https://api.github.com/users/jayadams011/orgs","repos_url":"https://api.github.com/users/jayadams011/repos","events_url":"https://api.github.com/users/jayadams011/events{/privacy}","received_events_url":"https://api.github.com/users/jayadams011/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":8,"additions":714,"deletions":0,"changed_files":15}}
{"actor":{"display_login":"jayadams011"}}