{"action":"created","comment":{"url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/comments/223806747","pull_request_review_id":163024402,"id":223806747,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzgwNjc0Nw==","diff_hunk":"@@ -0,0 +1,27 @@\n+#include <iostream>\n+#include \"LinkedList.hpp\"\n+\n+using namespace std;\n+\n+int main() {\n+  LinkedList<int> intList;\n+\n+  intList.insertTail(2);\n+  intList.insertTail(4);\n+  intList.insertHead(1);\n+  intList.insertAfter(2, 3);\n+\n+  // Print out each element sequentially using an iterator\n+  int size = intList.size();\n+  if (size == 0) {\n+      cout << \"Empty\";\n+  } else {\n+      for (auto iter = intList.begin(); iter != intList.end(); ++iter) {","path":"linked_list/cpp/test.cpp","position":19,"original_position":19,"commit_id":"8ef80efab81e6a693f1e9a10446754c993811666","original_commit_id":"8ef80efab81e6a693f1e9a10446754c993811666","user":{"login":"sangamcse","id":26381717,"node_id":"MDQ6VXNlcjI2MzgxNzE3","avatar_url":"https://avatars2.githubusercontent.com/u/26381717?v=4","gravatar_id":"","url":"https://api.github.com/users/sangamcse","html_url":"https://github.com/sangamcse","followers_url":"https://api.github.com/users/sangamcse/followers","following_url":"https://api.github.com/users/sangamcse/following{/other_user}","gists_url":"https://api.github.com/users/sangamcse/gists{/gist_id}","starred_url":"https://api.github.com/users/sangamcse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangamcse/subscriptions","organizations_url":"https://api.github.com/users/sangamcse/orgs","repos_url":"https://api.github.com/users/sangamcse/repos","events_url":"https://api.github.com/users/sangamcse/events{/privacy}","received_events_url":"https://api.github.com/users/sangamcse/received_events","type":"User","site_admin":false},"body":"Line contains following spacing inconsistencies:\n- Spaces used instead of tabs.\n\n*Origin: SpaceConsistencyBear, Section: `all.cpp`.*\n\nThe issue can be fixed by applying the following patch:\n\n```diff\n--- a/tmp/tmpqyw85au0/linked_list/cpp/test.cpp\n+++ b/tmp/tmpqyw85au0/linked_list/cpp/test.cpp\n@@ -16,7 +16,7 @@\n   if (size == 0) {\n       cout << \"Empty\";\n   } else {\n-      for (auto iter = intList.begin(); iter != intList.end(); ++iter) {\n+\t  for (auto iter = intList.begin(); iter != intList.end(); ++iter) {\n           cout << *iter << \" \";\n       }\n   }\n```","created_at":"2018-10-09T18:06:37Z","updated_at":"2018-10-09T18:06:37Z","html_url":"https://github.com/NITSkmOS/Algorithms/pull/425#discussion_r223806747","pull_request_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/425","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/comments/223806747"},"html":{"href":"https://github.com/NITSkmOS/Algorithms/pull/425#discussion_r223806747"},"pull_request":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/425"}}},"pull_request":{"url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/425","id":221532668,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNTMyNjY4","html_url":"https://github.com/NITSkmOS/Algorithms/pull/425","diff_url":"https://github.com/NITSkmOS/Algorithms/pull/425.diff","patch_url":"https://github.com/NITSkmOS/Algorithms/pull/425.patch","issue_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/425","number":425,"state":"open","locked":false,"title":"LinkedList.hpp: Add LinkedList implementation [C++]","user":{"login":"incinirate","id":2293550,"node_id":"MDQ6VXNlcjIyOTM1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/2293550?v=4","gravatar_id":"","url":"https://api.github.com/users/incinirate","html_url":"https://github.com/incinirate","followers_url":"https://api.github.com/users/incinirate/followers","following_url":"https://api.github.com/users/incinirate/following{/other_user}","gists_url":"https://api.github.com/users/incinirate/gists{/gist_id}","starred_url":"https://api.github.com/users/incinirate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incinirate/subscriptions","organizations_url":"https://api.github.com/users/incinirate/orgs","repos_url":"https://api.github.com/users/incinirate/repos","events_url":"https://api.github.com/users/incinirate/events{/privacy}","received_events_url":"https://api.github.com/users/incinirate/received_events","type":"User","site_admin":false},"body":"Fixes #27 \r\n\r\nThis adds a LinkedList implementation which is a list where the\r\nelements of the list are linked together via a pointer instead\r\nof being sequential in memory.\r\n\r\n**By submitting this pull request I confirm I've read and complied with the\r\nbelow declarations.**\r\n\r\n- [X] I have read the [Contribution guidelines](https://github.com/NITSkmOS/Algorithms/blob/master/CONTRIBUTING.md) and I am confident that my PR reflects them.\r\n- [X] I have followed the [commit guidelines](https://github.com/NITSkmOS/Algorithms/blob/master/CONTRIBUTING.md#write-good-commit-messages) for this project.\r\n- [X] My code follows the [standard code structure](https://github.com/NITSkmOS/Algorithms/blob/master/CONTRIBUTING.md#samples-code).\r\n- [X] This pull request has a descriptive title. For example, `{Tag}: Add {Algorithm/DS name} [{Language}]`, not `Update README.md` or `Added new code`.\r\n- [X] This pull request will be closed if I fail to update it even once in a continuous time span of 7 days.\r\n- [X] This pull request shall only be reviewed and merged once all the checks passes. No maintainer or supporter shall be obliged to review it before this condition is met.\r\n- [X] I have mentioned the issue number correctly (with hyperlink) in this pull request description.\r\n\r\nAfter you submit your pull request, **DO NOT** click the 'Update Branch' button.\r\n","created_at":"2018-10-09T18:02:51Z","updated_at":"2018-10-09T18:06:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0dee9208e2d8614062fc832813b0994218a10060","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1054793018,"node_id":"MDU6TGFiZWwxMDU0NzkzMDE4","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/difficulty/low","name":"difficulty/low","color":"fff000","default":false},{"id":1073867409,"node_id":"MDU6TGFiZWwxMDczODY3NDA5","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/hacktoberfest","name":"hacktoberfest","color":"411e2f","default":false},{"id":1073873467,"node_id":"MDU6TGFiZWwxMDczODczNDY3","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/lang/C++","name":"lang/C++","color":"ee3ff4","default":false},{"id":1075526358,"node_id":"MDU6TGFiZWwxMDc1NTI2MzU4","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/process/pending_review","name":"process/pending_review","color":"ededed","default":false},{"id":1073867915,"node_id":"MDU6TGFiZWwxMDczODY3OTE1","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/type/data%20structure","name":"type/data structure","color":"f9d348","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/425/commits","review_comments_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/425/comments","review_comment_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/425/comments","statuses_url":"https://api.github.com/repos/NITSkmOS/Algorithms/statuses/8ef80efab81e6a693f1e9a10446754c993811666","head":{"label":"incinirate:linkedlist","ref":"linkedlist","sha":"8ef80efab81e6a693f1e9a10446754c993811666","user":{"login":"incinirate","id":2293550,"node_id":"MDQ6VXNlcjIyOTM1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/2293550?v=4","gravatar_id":"","url":"https://api.github.com/users/incinirate","html_url":"https://github.com/incinirate","followers_url":"https://api.github.com/users/incinirate/followers","following_url":"https://api.github.com/users/incinirate/following{/other_user}","gists_url":"https://api.github.com/users/incinirate/gists{/gist_id}","starred_url":"https://api.github.com/users/incinirate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incinirate/subscriptions","organizations_url":"https://api.github.com/users/incinirate/orgs","repos_url":"https://api.github.com/users/incinirate/repos","events_url":"https://api.github.com/users/incinirate/events{/privacy}","received_events_url":"https://api.github.com/users/incinirate/received_events","type":"User","site_admin":false},"repo":{"id":152293172,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIyOTMxNzI=","name":"Algorithms","full_name":"incinirate/Algorithms","private":false,"owner":{"login":"incinirate","id":2293550,"node_id":"MDQ6VXNlcjIyOTM1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/2293550?v=4","gravatar_id":"","url":"https://api.github.com/users/incinirate","html_url":"https://github.com/incinirate","followers_url":"https://api.github.com/users/incinirate/followers","following_url":"https://api.github.com/users/incinirate/following{/other_user}","gists_url":"https://api.github.com/users/incinirate/gists{/gist_id}","starred_url":"https://api.github.com/users/incinirate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incinirate/subscriptions","organizations_url":"https://api.github.com/users/incinirate/orgs","repos_url":"https://api.github.com/users/incinirate/repos","events_url":"https://api.github.com/users/incinirate/events{/privacy}","received_events_url":"https://api.github.com/users/incinirate/received_events","type":"User","site_admin":false},"html_url":"https://github.com/incinirate/Algorithms","description":"In case you want to contribute, ping on https://gitter.im/NITSkmOS/algo.","fork":true,"url":"https://api.github.com/repos/incinirate/Algorithms","forks_url":"https://api.github.com/repos/incinirate/Algorithms/forks","keys_url":"https://api.github.com/repos/incinirate/Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/incinirate/Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/incinirate/Algorithms/teams","hooks_url":"https://api.github.com/repos/incinirate/Algorithms/hooks","issue_events_url":"https://api.github.com/repos/incinirate/Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/incinirate/Algorithms/events","assignees_url":"https://api.github.com/repos/incinirate/Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/incinirate/Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/incinirate/Algorithms/tags","blobs_url":"https://api.github.com/repos/incinirate/Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/incinirate/Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/incinirate/Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/incinirate/Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/incinirate/Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/incinirate/Algorithms/languages","stargazers_url":"https://api.github.com/repos/incinirate/Algorithms/stargazers","contributors_url":"https://api.github.com/repos/incinirate/Algorithms/contributors","subscribers_url":"https://api.github.com/repos/incinirate/Algorithms/subscribers","subscription_url":"https://api.github.com/repos/incinirate/Algorithms/subscription","commits_url":"https://api.github.com/repos/incinirate/Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/incinirate/Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/incinirate/Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/incinirate/Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/incinirate/Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/incinirate/Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/incinirate/Algorithms/merges","archive_url":"https://api.github.com/repos/incinirate/Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/incinirate/Algorithms/downloads","issues_url":"https://api.github.com/repos/incinirate/Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/incinirate/Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/incinirate/Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/incinirate/Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/incinirate/Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/incinirate/Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/incinirate/Algorithms/deployments","created_at":"2018-10-09T17:30:41Z","updated_at":"2018-10-09T17:30:43Z","pushed_at":"2018-10-09T18:00:34Z","git_url":"git://github.com/incinirate/Algorithms.git","ssh_url":"git@github.com:incinirate/Algorithms.git","clone_url":"https://github.com/incinirate/Algorithms.git","svn_url":"https://github.com/incinirate/Algorithms","homepage":"https://nitskmos.github.io/Algorithms","size":92,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"NITSkmOS:master","ref":"master","sha":"ecdd0d3d6b61a5cc1673220a88825259dc251a1e","user":{"login":"NITSkmOS","id":38863995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4ODYzOTk1","avatar_url":"https://avatars3.githubusercontent.com/u/38863995?v=4","gravatar_id":"","url":"https://api.github.com/users/NITSkmOS","html_url":"https://github.com/NITSkmOS","followers_url":"https://api.github.com/users/NITSkmOS/followers","following_url":"https://api.github.com/users/NITSkmOS/following{/other_user}","gists_url":"https://api.github.com/users/NITSkmOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NITSkmOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NITSkmOS/subscriptions","organizations_url":"https://api.github.com/users/NITSkmOS/orgs","repos_url":"https://api.github.com/users/NITSkmOS/repos","events_url":"https://api.github.com/users/NITSkmOS/events{/privacy}","received_events_url":"https://api.github.com/users/NITSkmOS/received_events","type":"Organization","site_admin":false},"repo":{"id":148530970,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg1MzA5NzA=","name":"Algorithms","full_name":"NITSkmOS/Algorithms","private":false,"owner":{"login":"NITSkmOS","id":38863995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4ODYzOTk1","avatar_url":"https://avatars3.githubusercontent.com/u/38863995?v=4","gravatar_id":"","url":"https://api.github.com/users/NITSkmOS","html_url":"https://github.com/NITSkmOS","followers_url":"https://api.github.com/users/NITSkmOS/followers","following_url":"https://api.github.com/users/NITSkmOS/following{/other_user}","gists_url":"https://api.github.com/users/NITSkmOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NITSkmOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NITSkmOS/subscriptions","organizations_url":"https://api.github.com/users/NITSkmOS/orgs","repos_url":"https://api.github.com/users/NITSkmOS/repos","events_url":"https://api.github.com/users/NITSkmOS/events{/privacy}","received_events_url":"https://api.github.com/users/NITSkmOS/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NITSkmOS/Algorithms","description":"In case you want to contribute, ping on https://gitter.im/NITSkmOS/algo.","fork":false,"url":"https://api.github.com/repos/NITSkmOS/Algorithms","forks_url":"https://api.github.com/repos/NITSkmOS/Algorithms/forks","keys_url":"https://api.github.com/repos/NITSkmOS/Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NITSkmOS/Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NITSkmOS/Algorithms/teams","hooks_url":"https://api.github.com/repos/NITSkmOS/Algorithms/hooks","issue_events_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/NITSkmOS/Algorithms/events","assignees_url":"https://api.github.com/repos/NITSkmOS/Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/NITSkmOS/Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/NITSkmOS/Algorithms/tags","blobs_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NITSkmOS/Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/NITSkmOS/Algorithms/languages","stargazers_url":"https://api.github.com/repos/NITSkmOS/Algorithms/stargazers","contributors_url":"https://api.github.com/repos/NITSkmOS/Algorithms/contributors","subscribers_url":"https://api.github.com/repos/NITSkmOS/Algorithms/subscribers","subscription_url":"https://api.github.com/repos/NITSkmOS/Algorithms/subscription","commits_url":"https://api.github.com/repos/NITSkmOS/Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/NITSkmOS/Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/NITSkmOS/Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/NITSkmOS/Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NITSkmOS/Algorithms/merges","archive_url":"https://api.github.com/repos/NITSkmOS/Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NITSkmOS/Algorithms/downloads","issues_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/NITSkmOS/Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/NITSkmOS/Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/NITSkmOS/Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/NITSkmOS/Algorithms/deployments","created_at":"2018-09-12T19:26:40Z","updated_at":"2018-10-09T16:10:48Z","pushed_at":"2018-10-09T18:02:52Z","git_url":"git://github.com/NITSkmOS/Algorithms.git","ssh_url":"git@github.com:NITSkmOS/Algorithms.git","clone_url":"https://github.com/NITSkmOS/Algorithms.git","svn_url":"https://github.com/NITSkmOS/Algorithms","homepage":"https://nitskmos.github.io/Algorithms","size":92,"stargazers_count":43,"watchers_count":43,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":241,"mirror_url":null,"archived":false,"open_issues_count":155,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":241,"open_issues":155,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/425"},"html":{"href":"https://github.com/NITSkmOS/Algorithms/pull/425"},"issue":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/425"},"comments":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/425/comments"},"review_comments":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/425/comments"},"review_comment":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/425/commits"},"statuses":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/statuses/8ef80efab81e6a693f1e9a10446754c993811666"}},"author_association":"NONE"}}
{"actor":{"display_login":"sangamcse"}}