{"action":"opened","number":93,"pull_request":{"url":"https://api.github.com/repos/xtaci/algorithms/pulls/93","id":219680317,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NjgwMzE3","html_url":"https://github.com/xtaci/algorithms/pull/93","diff_url":"https://github.com/xtaci/algorithms/pull/93.diff","patch_url":"https://github.com/xtaci/algorithms/pull/93.patch","issue_url":"https://api.github.com/repos/xtaci/algorithms/issues/93","number":93,"state":"open","locked":false,"title":"Optimize bubble sort.","user":{"login":"VARoDeK","id":29409497,"node_id":"MDQ6VXNlcjI5NDA5NDk3","avatar_url":"https://avatars0.githubusercontent.com/u/29409497?v=4","gravatar_id":"","url":"https://api.github.com/users/VARoDeK","html_url":"https://github.com/VARoDeK","followers_url":"https://api.github.com/users/VARoDeK/followers","following_url":"https://api.github.com/users/VARoDeK/following{/other_user}","gists_url":"https://api.github.com/users/VARoDeK/gists{/gist_id}","starred_url":"https://api.github.com/users/VARoDeK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VARoDeK/subscriptions","organizations_url":"https://api.github.com/users/VARoDeK/orgs","repos_url":"https://api.github.com/users/VARoDeK/repos","events_url":"https://api.github.com/users/VARoDeK/events{/privacy}","received_events_url":"https://api.github.com/users/VARoDeK/received_events","type":"User","site_admin":false},"body":"- Optimize bubble sort by introducing 'j' variable in 'do' loop.\r\n- as after each step of 'do-loop', one number reaches to its right position. Thus 'inner-for-loop' does not need to run 'n' times in every cycle of 'do-loop'.","created_at":"2018-10-02T12:09:05Z","updated_at":"2018-10-02T12:09:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/xtaci/algorithms/pulls/93/commits","review_comments_url":"https://api.github.com/repos/xtaci/algorithms/pulls/93/comments","review_comment_url":"https://api.github.com/repos/xtaci/algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xtaci/algorithms/issues/93/comments","statuses_url":"https://api.github.com/repos/xtaci/algorithms/statuses/304eb0914459b323f28bfad0841a0a2e51b6bc37","head":{"label":"VARoDeK:master","ref":"master","sha":"304eb0914459b323f28bfad0841a0a2e51b6bc37","user":{"login":"VARoDeK","id":29409497,"node_id":"MDQ6VXNlcjI5NDA5NDk3","avatar_url":"https://avatars0.githubusercontent.com/u/29409497?v=4","gravatar_id":"","url":"https://api.github.com/users/VARoDeK","html_url":"https://github.com/VARoDeK","followers_url":"https://api.github.com/users/VARoDeK/followers","following_url":"https://api.github.com/users/VARoDeK/following{/other_user}","gists_url":"https://api.github.com/users/VARoDeK/gists{/gist_id}","starred_url":"https://api.github.com/users/VARoDeK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VARoDeK/subscriptions","organizations_url":"https://api.github.com/users/VARoDeK/orgs","repos_url":"https://api.github.com/users/VARoDeK/repos","events_url":"https://api.github.com/users/VARoDeK/events{/privacy}","received_events_url":"https://api.github.com/users/VARoDeK/received_events","type":"User","site_admin":false},"repo":{"id":151247771,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyNDc3NzE=","name":"algorithms-1","full_name":"VARoDeK/algorithms-1","private":false,"owner":{"login":"VARoDeK","id":29409497,"node_id":"MDQ6VXNlcjI5NDA5NDk3","avatar_url":"https://avatars0.githubusercontent.com/u/29409497?v=4","gravatar_id":"","url":"https://api.github.com/users/VARoDeK","html_url":"https://github.com/VARoDeK","followers_url":"https://api.github.com/users/VARoDeK/followers","following_url":"https://api.github.com/users/VARoDeK/following{/other_user}","gists_url":"https://api.github.com/users/VARoDeK/gists{/gist_id}","starred_url":"https://api.github.com/users/VARoDeK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VARoDeK/subscriptions","organizations_url":"https://api.github.com/users/VARoDeK/orgs","repos_url":"https://api.github.com/users/VARoDeK/repos","events_url":"https://api.github.com/users/VARoDeK/events{/privacy}","received_events_url":"https://api.github.com/users/VARoDeK/received_events","type":"User","site_admin":false},"html_url":"https://github.com/VARoDeK/algorithms-1","description":"Algorithms & Data structures in C++.","fork":true,"url":"https://api.github.com/repos/VARoDeK/algorithms-1","forks_url":"https://api.github.com/repos/VARoDeK/algorithms-1/forks","keys_url":"https://api.github.com/repos/VARoDeK/algorithms-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VARoDeK/algorithms-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VARoDeK/algorithms-1/teams","hooks_url":"https://api.github.com/repos/VARoDeK/algorithms-1/hooks","issue_events_url":"https://api.github.com/repos/VARoDeK/algorithms-1/issues/events{/number}","events_url":"https://api.github.com/repos/VARoDeK/algorithms-1/events","assignees_url":"https://api.github.com/repos/VARoDeK/algorithms-1/assignees{/user}","branches_url":"https://api.github.com/repos/VARoDeK/algorithms-1/branches{/branch}","tags_url":"https://api.github.com/repos/VARoDeK/algorithms-1/tags","blobs_url":"https://api.github.com/repos/VARoDeK/algorithms-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VARoDeK/algorithms-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VARoDeK/algorithms-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/VARoDeK/algorithms-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VARoDeK/algorithms-1/statuses/{sha}","languages_url":"https://api.github.com/repos/VARoDeK/algorithms-1/languages","stargazers_url":"https://api.github.com/repos/VARoDeK/algorithms-1/stargazers","contributors_url":"https://api.github.com/repos/VARoDeK/algorithms-1/contributors","subscribers_url":"https://api.github.com/repos/VARoDeK/algorithms-1/subscribers","subscription_url":"https://api.github.com/repos/VARoDeK/algorithms-1/subscription","commits_url":"https://api.github.com/repos/VARoDeK/algorithms-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/VARoDeK/algorithms-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/VARoDeK/algorithms-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/VARoDeK/algorithms-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/VARoDeK/algorithms-1/contents/{+path}","compare_url":"https://api.github.com/repos/VARoDeK/algorithms-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VARoDeK/algorithms-1/merges","archive_url":"https://api.github.com/repos/VARoDeK/algorithms-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VARoDeK/algorithms-1/downloads","issues_url":"https://api.github.com/repos/VARoDeK/algorithms-1/issues{/number}","pulls_url":"https://api.github.com/repos/VARoDeK/algorithms-1/pulls{/number}","milestones_url":"https://api.github.com/repos/VARoDeK/algorithms-1/milestones{/number}","notifications_url":"https://api.github.com/repos/VARoDeK/algorithms-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VARoDeK/algorithms-1/labels{/name}","releases_url":"https://api.github.com/repos/VARoDeK/algorithms-1/releases{/id}","deployments_url":"https://api.github.com/repos/VARoDeK/algorithms-1/deployments","created_at":"2018-10-02T12:04:45Z","updated_at":"2018-10-02T12:08:31Z","pushed_at":"2018-10-02T12:08:36Z","git_url":"git://github.com/VARoDeK/algorithms-1.git","ssh_url":"git@github.com:VARoDeK/algorithms-1.git","clone_url":"https://github.com/VARoDeK/algorithms-1.git","svn_url":"https://github.com/VARoDeK/algorithms-1","homepage":"","size":2263,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xtaci:master","ref":"master","sha":"2ac19a715c06f2578c7ebbc201fff6c763320579","user":{"login":"xtaci","id":2346725,"node_id":"MDQ6VXNlcjIzNDY3MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/2346725?v=4","gravatar_id":"","url":"https://api.github.com/users/xtaci","html_url":"https://github.com/xtaci","followers_url":"https://api.github.com/users/xtaci/followers","following_url":"https://api.github.com/users/xtaci/following{/other_user}","gists_url":"https://api.github.com/users/xtaci/gists{/gist_id}","starred_url":"https://api.github.com/users/xtaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtaci/subscriptions","organizations_url":"https://api.github.com/users/xtaci/orgs","repos_url":"https://api.github.com/users/xtaci/repos","events_url":"https://api.github.com/users/xtaci/events{/privacy}","received_events_url":"https://api.github.com/users/xtaci/received_events","type":"User","site_admin":false},"repo":{"id":9322866,"node_id":"MDEwOlJlcG9zaXRvcnk5MzIyODY2","name":"algorithms","full_name":"xtaci/algorithms","private":false,"owner":{"login":"xtaci","id":2346725,"node_id":"MDQ6VXNlcjIzNDY3MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/2346725?v=4","gravatar_id":"","url":"https://api.github.com/users/xtaci","html_url":"https://github.com/xtaci","followers_url":"https://api.github.com/users/xtaci/followers","following_url":"https://api.github.com/users/xtaci/following{/other_user}","gists_url":"https://api.github.com/users/xtaci/gists{/gist_id}","starred_url":"https://api.github.com/users/xtaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtaci/subscriptions","organizations_url":"https://api.github.com/users/xtaci/orgs","repos_url":"https://api.github.com/users/xtaci/repos","events_url":"https://api.github.com/users/xtaci/events{/privacy}","received_events_url":"https://api.github.com/users/xtaci/received_events","type":"User","site_admin":false},"html_url":"https://github.com/xtaci/algorithms","description":"Algorithms & Data structures in C++.","fork":false,"url":"https://api.github.com/repos/xtaci/algorithms","forks_url":"https://api.github.com/repos/xtaci/algorithms/forks","keys_url":"https://api.github.com/repos/xtaci/algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xtaci/algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xtaci/algorithms/teams","hooks_url":"https://api.github.com/repos/xtaci/algorithms/hooks","issue_events_url":"https://api.github.com/repos/xtaci/algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/xtaci/algorithms/events","assignees_url":"https://api.github.com/repos/xtaci/algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/xtaci/algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/xtaci/algorithms/tags","blobs_url":"https://api.github.com/repos/xtaci/algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xtaci/algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xtaci/algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/xtaci/algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xtaci/algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/xtaci/algorithms/languages","stargazers_url":"https://api.github.com/repos/xtaci/algorithms/stargazers","contributors_url":"https://api.github.com/repos/xtaci/algorithms/contributors","subscribers_url":"https://api.github.com/repos/xtaci/algorithms/subscribers","subscription_url":"https://api.github.com/repos/xtaci/algorithms/subscription","commits_url":"https://api.github.com/repos/xtaci/algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/xtaci/algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/xtaci/algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/xtaci/algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/xtaci/algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/xtaci/algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xtaci/algorithms/merges","archive_url":"https://api.github.com/repos/xtaci/algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xtaci/algorithms/downloads","issues_url":"https://api.github.com/repos/xtaci/algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/xtaci/algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/xtaci/algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/xtaci/algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xtaci/algorithms/labels{/name}","releases_url":"https://api.github.com/repos/xtaci/algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/xtaci/algorithms/deployments","created_at":"2013-04-09T14:17:24Z","updated_at":"2018-10-02T08:37:40Z","pushed_at":"2018-10-02T06:33:55Z","git_url":"git://github.com/xtaci/algorithms.git","ssh_url":"git@github.com:xtaci/algorithms.git","clone_url":"https://github.com/xtaci/algorithms.git","svn_url":"https://github.com/xtaci/algorithms","homepage":"","size":2263,"stargazers_count":2512,"watchers_count":2512,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":982,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":982,"open_issues":28,"watchers":2512,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xtaci/algorithms/pulls/93"},"html":{"href":"https://github.com/xtaci/algorithms/pull/93"},"issue":{"href":"https://api.github.com/repos/xtaci/algorithms/issues/93"},"comments":{"href":"https://api.github.com/repos/xtaci/algorithms/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/xtaci/algorithms/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/xtaci/algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xtaci/algorithms/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/xtaci/algorithms/statuses/304eb0914459b323f28bfad0841a0a2e51b6bc37"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"VARoDeK"}}