{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/pulls/4","id":93475490,"html_url":"https://github.com/Coding-is-the-new-literacy/beginner/pull/4","diff_url":"https://github.com/Coding-is-the-new-literacy/beginner/pull/4.diff","patch_url":"https://github.com/Coding-is-the-new-literacy/beginner/pull/4.patch","issue_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/issues/4","number":4,"state":"open","locked":false,"title":"reverse O(n) space O(n).rb","user":{"login":"MatejaSela","id":16491977,"avatar_url":"https://avatars.githubusercontent.com/u/16491977?v=3","gravatar_id":"","url":"https://api.github.com/users/MatejaSela","html_url":"https://github.com/MatejaSela","followers_url":"https://api.github.com/users/MatejaSela/followers","following_url":"https://api.github.com/users/MatejaSela/following{/other_user}","gists_url":"https://api.github.com/users/MatejaSela/gists{/gist_id}","starred_url":"https://api.github.com/users/MatejaSela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatejaSela/subscriptions","organizations_url":"https://api.github.com/users/MatejaSela/orgs","repos_url":"https://api.github.com/users/MatejaSela/repos","events_url":"https://api.github.com/users/MatejaSela/events{/privacy}","received_events_url":"https://api.github.com/users/MatejaSela/received_events","type":"User","site_admin":false},"body":"Is there a way to do this in place? I would like space complex to be O(1), but can't seem to think of a way to implement it.","created_at":"2016-11-13T15:06:09Z","updated_at":"2016-11-13T15:06:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/issues/4/comments","statuses_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/statuses/4f09e081dd9715c16d37ddfc7b0a07d8a93b8058","head":{"label":"MatejaSela:patch-1","ref":"patch-1","sha":"4f09e081dd9715c16d37ddfc7b0a07d8a93b8058","user":{"login":"MatejaSela","id":16491977,"avatar_url":"https://avatars.githubusercontent.com/u/16491977?v=3","gravatar_id":"","url":"https://api.github.com/users/MatejaSela","html_url":"https://github.com/MatejaSela","followers_url":"https://api.github.com/users/MatejaSela/followers","following_url":"https://api.github.com/users/MatejaSela/following{/other_user}","gists_url":"https://api.github.com/users/MatejaSela/gists{/gist_id}","starred_url":"https://api.github.com/users/MatejaSela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatejaSela/subscriptions","organizations_url":"https://api.github.com/users/MatejaSela/orgs","repos_url":"https://api.github.com/users/MatejaSela/repos","events_url":"https://api.github.com/users/MatejaSela/events{/privacy}","received_events_url":"https://api.github.com/users/MatejaSela/received_events","type":"User","site_admin":false},"repo":{"id":73596048,"name":"beginner","full_name":"MatejaSela/beginner","owner":{"login":"MatejaSela","id":16491977,"avatar_url":"https://avatars.githubusercontent.com/u/16491977?v=3","gravatar_id":"","url":"https://api.github.com/users/MatejaSela","html_url":"https://github.com/MatejaSela","followers_url":"https://api.github.com/users/MatejaSela/followers","following_url":"https://api.github.com/users/MatejaSela/following{/other_user}","gists_url":"https://api.github.com/users/MatejaSela/gists{/gist_id}","starred_url":"https://api.github.com/users/MatejaSela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatejaSela/subscriptions","organizations_url":"https://api.github.com/users/MatejaSela/orgs","repos_url":"https://api.github.com/users/MatejaSela/repos","events_url":"https://api.github.com/users/MatejaSela/events{/privacy}","received_events_url":"https://api.github.com/users/MatejaSela/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MatejaSela/beginner","description":null,"fork":true,"url":"https://api.github.com/repos/MatejaSela/beginner","forks_url":"https://api.github.com/repos/MatejaSela/beginner/forks","keys_url":"https://api.github.com/repos/MatejaSela/beginner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MatejaSela/beginner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MatejaSela/beginner/teams","hooks_url":"https://api.github.com/repos/MatejaSela/beginner/hooks","issue_events_url":"https://api.github.com/repos/MatejaSela/beginner/issues/events{/number}","events_url":"https://api.github.com/repos/MatejaSela/beginner/events","assignees_url":"https://api.github.com/repos/MatejaSela/beginner/assignees{/user}","branches_url":"https://api.github.com/repos/MatejaSela/beginner/branches{/branch}","tags_url":"https://api.github.com/repos/MatejaSela/beginner/tags","blobs_url":"https://api.github.com/repos/MatejaSela/beginner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MatejaSela/beginner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MatejaSela/beginner/git/refs{/sha}","trees_url":"https://api.github.com/repos/MatejaSela/beginner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MatejaSela/beginner/statuses/{sha}","languages_url":"https://api.github.com/repos/MatejaSela/beginner/languages","stargazers_url":"https://api.github.com/repos/MatejaSela/beginner/stargazers","contributors_url":"https://api.github.com/repos/MatejaSela/beginner/contributors","subscribers_url":"https://api.github.com/repos/MatejaSela/beginner/subscribers","subscription_url":"https://api.github.com/repos/MatejaSela/beginner/subscription","commits_url":"https://api.github.com/repos/MatejaSela/beginner/commits{/sha}","git_commits_url":"https://api.github.com/repos/MatejaSela/beginner/git/commits{/sha}","comments_url":"https://api.github.com/repos/MatejaSela/beginner/comments{/number}","issue_comment_url":"https://api.github.com/repos/MatejaSela/beginner/issues/comments{/number}","contents_url":"https://api.github.com/repos/MatejaSela/beginner/contents/{+path}","compare_url":"https://api.github.com/repos/MatejaSela/beginner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MatejaSela/beginner/merges","archive_url":"https://api.github.com/repos/MatejaSela/beginner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MatejaSela/beginner/downloads","issues_url":"https://api.github.com/repos/MatejaSela/beginner/issues{/number}","pulls_url":"https://api.github.com/repos/MatejaSela/beginner/pulls{/number}","milestones_url":"https://api.github.com/repos/MatejaSela/beginner/milestones{/number}","notifications_url":"https://api.github.com/repos/MatejaSela/beginner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MatejaSela/beginner/labels{/name}","releases_url":"https://api.github.com/repos/MatejaSela/beginner/releases{/id}","deployments_url":"https://api.github.com/repos/MatejaSela/beginner/deployments","created_at":"2016-11-13T04:47:47Z","updated_at":"2016-11-13T04:47:49Z","pushed_at":"2016-11-13T15:04:24Z","git_url":"git://github.com/MatejaSela/beginner.git","ssh_url":"git@github.com:MatejaSela/beginner.git","clone_url":"https://github.com/MatejaSela/beginner.git","svn_url":"https://github.com/MatejaSela/beginner","homepage":null,"size":375,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Coding-is-the-new-literacy:master","ref":"master","sha":"1951394aa278f883f1158b0e4a718ff83611c8e8","user":{"login":"Coding-is-the-new-literacy","id":10105384,"avatar_url":"https://avatars.githubusercontent.com/u/10105384?v=3","gravatar_id":"","url":"https://api.github.com/users/Coding-is-the-new-literacy","html_url":"https://github.com/Coding-is-the-new-literacy","followers_url":"https://api.github.com/users/Coding-is-the-new-literacy/followers","following_url":"https://api.github.com/users/Coding-is-the-new-literacy/following{/other_user}","gists_url":"https://api.github.com/users/Coding-is-the-new-literacy/gists{/gist_id}","starred_url":"https://api.github.com/users/Coding-is-the-new-literacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coding-is-the-new-literacy/subscriptions","organizations_url":"https://api.github.com/users/Coding-is-the-new-literacy/orgs","repos_url":"https://api.github.com/users/Coding-is-the-new-literacy/repos","events_url":"https://api.github.com/users/Coding-is-the-new-literacy/events{/privacy}","received_events_url":"https://api.github.com/users/Coding-is-the-new-literacy/received_events","type":"Organization","site_admin":false},"repo":{"id":34373955,"name":"beginner","full_name":"Coding-is-the-new-literacy/beginner","owner":{"login":"Coding-is-the-new-literacy","id":10105384,"avatar_url":"https://avatars.githubusercontent.com/u/10105384?v=3","gravatar_id":"","url":"https://api.github.com/users/Coding-is-the-new-literacy","html_url":"https://github.com/Coding-is-the-new-literacy","followers_url":"https://api.github.com/users/Coding-is-the-new-literacy/followers","following_url":"https://api.github.com/users/Coding-is-the-new-literacy/following{/other_user}","gists_url":"https://api.github.com/users/Coding-is-the-new-literacy/gists{/gist_id}","starred_url":"https://api.github.com/users/Coding-is-the-new-literacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coding-is-the-new-literacy/subscriptions","organizations_url":"https://api.github.com/users/Coding-is-the-new-literacy/orgs","repos_url":"https://api.github.com/users/Coding-is-the-new-literacy/repos","events_url":"https://api.github.com/users/Coding-is-the-new-literacy/events{/privacy}","received_events_url":"https://api.github.com/users/Coding-is-the-new-literacy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Coding-is-the-new-literacy/beginner","description":null,"fork":false,"url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner","forks_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/forks","keys_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/teams","hooks_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/hooks","issue_events_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/issues/events{/number}","events_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/events","assignees_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/assignees{/user}","branches_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/branches{/branch}","tags_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/tags","blobs_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/statuses/{sha}","languages_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/languages","stargazers_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/stargazers","contributors_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/contributors","subscribers_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/subscribers","subscription_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/subscription","commits_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/issues/comments{/number}","contents_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/contents/{+path}","compare_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/merges","archive_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/downloads","issues_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/issues{/number}","pulls_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/pulls{/number}","milestones_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/milestones{/number}","notifications_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/labels{/name}","releases_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/releases{/id}","deployments_url":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/deployments","created_at":"2015-04-22T06:50:50Z","updated_at":"2016-08-22T23:47:45Z","pushed_at":"2016-11-13T15:06:09Z","git_url":"git://github.com/Coding-is-the-new-literacy/beginner.git","ssh_url":"git@github.com:Coding-is-the-new-literacy/beginner.git","clone_url":"https://github.com/Coding-is-the-new-literacy/beginner.git","svn_url":"https://github.com/Coding-is-the-new-literacy/beginner","homepage":null,"size":375,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":1,"forks":16,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/pulls/4"},"html":{"href":"https://github.com/Coding-is-the-new-literacy/beginner/pull/4"},"issue":{"href":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/issues/4"},"comments":{"href":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Coding-is-the-new-literacy/beginner/statuses/4f09e081dd9715c16d37ddfc7b0a07d8a93b8058"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"MatejaSela"}}