{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls/1","id":241896407,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxODk2NDA3","html_url":"https://github.com/WybeTuring/AfriHackWork/pull/1","diff_url":"https://github.com/WybeTuring/AfriHackWork/pull/1.diff","patch_url":"https://github.com/WybeTuring/AfriHackWork/pull/1.patch","issue_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues/1","number":1,"state":"closed","locked":false,"title":"Tried using the binary search to optimize with little success.","user":{"login":"WybeTuring","id":39970301,"node_id":"MDQ6VXNlcjM5OTcwMzAx","avatar_url":"https://avatars3.githubusercontent.com/u/39970301?v=4","gravatar_id":"","url":"https://api.github.com/users/WybeTuring","html_url":"https://github.com/WybeTuring","followers_url":"https://api.github.com/users/WybeTuring/followers","following_url":"https://api.github.com/users/WybeTuring/following{/other_user}","gists_url":"https://api.github.com/users/WybeTuring/gists{/gist_id}","starred_url":"https://api.github.com/users/WybeTuring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WybeTuring/subscriptions","organizations_url":"https://api.github.com/users/WybeTuring/orgs","repos_url":"https://api.github.com/users/WybeTuring/repos","events_url":"https://api.github.com/users/WybeTuring/events{/privacy}","received_events_url":"https://api.github.com/users/WybeTuring/received_events","type":"User","site_admin":false},"body":"Tried using the binary search to optimize for speed when searching for the index of the leading element. This did not really go well. I later had the idea that seemed to work, that starts by checking if the number is already sorted. Kind a worked man.","created_at":"2019-01-03T03:04:33Z","updated_at":"2019-01-03T03:04:58Z","closed_at":"2019-01-03T03:04:58Z","merged_at":"2019-01-03T03:04:58Z","merge_commit_sha":"101bcdc3d3731e4932cd192a4d38c23e347ffcb3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls/1/commits","review_comments_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls/1/comments","review_comment_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues/1/comments","statuses_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/statuses/d40629143fe7071a5fa8f06f2109b309e609d672","head":{"label":"WybeTuring:binaryoptimization","ref":"binaryoptimization","sha":"d40629143fe7071a5fa8f06f2109b309e609d672","user":{"login":"WybeTuring","id":39970301,"node_id":"MDQ6VXNlcjM5OTcwMzAx","avatar_url":"https://avatars3.githubusercontent.com/u/39970301?v=4","gravatar_id":"","url":"https://api.github.com/users/WybeTuring","html_url":"https://github.com/WybeTuring","followers_url":"https://api.github.com/users/WybeTuring/followers","following_url":"https://api.github.com/users/WybeTuring/following{/other_user}","gists_url":"https://api.github.com/users/WybeTuring/gists{/gist_id}","starred_url":"https://api.github.com/users/WybeTuring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WybeTuring/subscriptions","organizations_url":"https://api.github.com/users/WybeTuring/orgs","repos_url":"https://api.github.com/users/WybeTuring/repos","events_url":"https://api.github.com/users/WybeTuring/events{/privacy}","received_events_url":"https://api.github.com/users/WybeTuring/received_events","type":"User","site_admin":false},"repo":{"id":163650089,"node_id":"MDEwOlJlcG9zaXRvcnkxNjM2NTAwODk=","name":"AfriHackWork","full_name":"WybeTuring/AfriHackWork","private":false,"owner":{"login":"WybeTuring","id":39970301,"node_id":"MDQ6VXNlcjM5OTcwMzAx","avatar_url":"https://avatars3.githubusercontent.com/u/39970301?v=4","gravatar_id":"","url":"https://api.github.com/users/WybeTuring","html_url":"https://github.com/WybeTuring","followers_url":"https://api.github.com/users/WybeTuring/followers","following_url":"https://api.github.com/users/WybeTuring/following{/other_user}","gists_url":"https://api.github.com/users/WybeTuring/gists{/gist_id}","starred_url":"https://api.github.com/users/WybeTuring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WybeTuring/subscriptions","organizations_url":"https://api.github.com/users/WybeTuring/orgs","repos_url":"https://api.github.com/users/WybeTuring/repos","events_url":"https://api.github.com/users/WybeTuring/events{/privacy}","received_events_url":"https://api.github.com/users/WybeTuring/received_events","type":"User","site_admin":false},"html_url":"https://github.com/WybeTuring/AfriHackWork","description":"This is a portion of the work I did with Afrihack and on CodeWars. ","fork":false,"url":"https://api.github.com/repos/WybeTuring/AfriHackWork","forks_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/forks","keys_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/teams","hooks_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/hooks","issue_events_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues/events{/number}","events_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/events","assignees_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/assignees{/user}","branches_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/branches{/branch}","tags_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/tags","blobs_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/refs{/sha}","trees_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/statuses/{sha}","languages_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/languages","stargazers_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/stargazers","contributors_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/contributors","subscribers_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/subscribers","subscription_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/subscription","commits_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/commits{/sha}","git_commits_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/commits{/sha}","comments_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/comments{/number}","issue_comment_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues/comments{/number}","contents_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/contents/{+path}","compare_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/merges","archive_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/downloads","issues_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues{/number}","pulls_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls{/number}","milestones_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/milestones{/number}","notifications_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/labels{/name}","releases_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/releases{/id}","deployments_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/deployments","created_at":"2018-12-31T07:51:07Z","updated_at":"2019-01-03T01:09:59Z","pushed_at":"2019-01-03T03:04:58Z","git_url":"git://github.com/WybeTuring/AfriHackWork.git","ssh_url":"git@github.com:WybeTuring/AfriHackWork.git","clone_url":"https://github.com/WybeTuring/AfriHackWork.git","svn_url":"https://github.com/WybeTuring/AfriHackWork","homepage":null,"size":8,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WybeTuring:master","ref":"master","sha":"9b8ba131885d3acaa7d01e0a51f4d395d03dee7b","user":{"login":"WybeTuring","id":39970301,"node_id":"MDQ6VXNlcjM5OTcwMzAx","avatar_url":"https://avatars3.githubusercontent.com/u/39970301?v=4","gravatar_id":"","url":"https://api.github.com/users/WybeTuring","html_url":"https://github.com/WybeTuring","followers_url":"https://api.github.com/users/WybeTuring/followers","following_url":"https://api.github.com/users/WybeTuring/following{/other_user}","gists_url":"https://api.github.com/users/WybeTuring/gists{/gist_id}","starred_url":"https://api.github.com/users/WybeTuring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WybeTuring/subscriptions","organizations_url":"https://api.github.com/users/WybeTuring/orgs","repos_url":"https://api.github.com/users/WybeTuring/repos","events_url":"https://api.github.com/users/WybeTuring/events{/privacy}","received_events_url":"https://api.github.com/users/WybeTuring/received_events","type":"User","site_admin":false},"repo":{"id":163650089,"node_id":"MDEwOlJlcG9zaXRvcnkxNjM2NTAwODk=","name":"AfriHackWork","full_name":"WybeTuring/AfriHackWork","private":false,"owner":{"login":"WybeTuring","id":39970301,"node_id":"MDQ6VXNlcjM5OTcwMzAx","avatar_url":"https://avatars3.githubusercontent.com/u/39970301?v=4","gravatar_id":"","url":"https://api.github.com/users/WybeTuring","html_url":"https://github.com/WybeTuring","followers_url":"https://api.github.com/users/WybeTuring/followers","following_url":"https://api.github.com/users/WybeTuring/following{/other_user}","gists_url":"https://api.github.com/users/WybeTuring/gists{/gist_id}","starred_url":"https://api.github.com/users/WybeTuring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WybeTuring/subscriptions","organizations_url":"https://api.github.com/users/WybeTuring/orgs","repos_url":"https://api.github.com/users/WybeTuring/repos","events_url":"https://api.github.com/users/WybeTuring/events{/privacy}","received_events_url":"https://api.github.com/users/WybeTuring/received_events","type":"User","site_admin":false},"html_url":"https://github.com/WybeTuring/AfriHackWork","description":"This is a portion of the work I did with Afrihack and on CodeWars. ","fork":false,"url":"https://api.github.com/repos/WybeTuring/AfriHackWork","forks_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/forks","keys_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/teams","hooks_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/hooks","issue_events_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues/events{/number}","events_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/events","assignees_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/assignees{/user}","branches_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/branches{/branch}","tags_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/tags","blobs_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/refs{/sha}","trees_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/statuses/{sha}","languages_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/languages","stargazers_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/stargazers","contributors_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/contributors","subscribers_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/subscribers","subscription_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/subscription","commits_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/commits{/sha}","git_commits_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/git/commits{/sha}","comments_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/comments{/number}","issue_comment_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues/comments{/number}","contents_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/contents/{+path}","compare_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/merges","archive_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/downloads","issues_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues{/number}","pulls_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls{/number}","milestones_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/milestones{/number}","notifications_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/labels{/name}","releases_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/releases{/id}","deployments_url":"https://api.github.com/repos/WybeTuring/AfriHackWork/deployments","created_at":"2018-12-31T07:51:07Z","updated_at":"2019-01-03T01:09:59Z","pushed_at":"2019-01-03T03:04:58Z","git_url":"git://github.com/WybeTuring/AfriHackWork.git","ssh_url":"git@github.com:WybeTuring/AfriHackWork.git","clone_url":"https://github.com/WybeTuring/AfriHackWork.git","svn_url":"https://github.com/WybeTuring/AfriHackWork","homepage":null,"size":8,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls/1"},"html":{"href":"https://github.com/WybeTuring/AfriHackWork/pull/1"},"issue":{"href":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues/1"},"comments":{"href":"https://api.github.com/repos/WybeTuring/AfriHackWork/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WybeTuring/AfriHackWork/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/WybeTuring/AfriHackWork/statuses/d40629143fe7071a5fa8f06f2109b309e609d672"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"WybeTuring","id":39970301,"node_id":"MDQ6VXNlcjM5OTcwMzAx","avatar_url":"https://avatars3.githubusercontent.com/u/39970301?v=4","gravatar_id":"","url":"https://api.github.com/users/WybeTuring","html_url":"https://github.com/WybeTuring","followers_url":"https://api.github.com/users/WybeTuring/followers","following_url":"https://api.github.com/users/WybeTuring/following{/other_user}","gists_url":"https://api.github.com/users/WybeTuring/gists{/gist_id}","starred_url":"https://api.github.com/users/WybeTuring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WybeTuring/subscriptions","organizations_url":"https://api.github.com/users/WybeTuring/orgs","repos_url":"https://api.github.com/users/WybeTuring/repos","events_url":"https://api.github.com/users/WybeTuring/events{/privacy}","received_events_url":"https://api.github.com/users/WybeTuring/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":38,"deletions":21,"changed_files":2}}
{"actor":{"display_login":"WybeTuring"}}