{"action":"created","comment":{"url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/comments/84569305","pull_request_review_id":5342581,"id":84569305,"diff_hunk":"@@ -120,38 +120,69 @@ def Print_Linked_List(self):\n \n         print(current.data)\n \n+    def Get_Length_Iterative(self):\n+        current = self.head\n+        length = 0\n+\n+        while current != None:\n+            length += 1\n+            current = current.next\n+\n+        return length\n+\n+    def Get_Length_Recursive(self):\n+        def Count_Recursive(node):\n+            if node is None:\n+                return 0\n+            elif node.next is None:","path":"Linked_List/Linked_List.py","position":null,"original_position":18,"commit_id":"d9ef647c3761ccc57d9c945a967692866926f9ce","original_commit_id":"a8410e632e799277eb3bea06691a27c0864a21d1","user":{"login":"jeremychen0127","id":8950886,"avatar_url":"https://avatars.githubusercontent.com/u/8950886?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremychen0127","html_url":"https://github.com/jeremychen0127","followers_url":"https://api.github.com/users/jeremychen0127/followers","following_url":"https://api.github.com/users/jeremychen0127/following{/other_user}","gists_url":"https://api.github.com/users/jeremychen0127/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremychen0127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremychen0127/subscriptions","organizations_url":"https://api.github.com/users/jeremychen0127/orgs","repos_url":"https://api.github.com/users/jeremychen0127/repos","events_url":"https://api.github.com/users/jeremychen0127/events{/privacy}","received_events_url":"https://api.github.com/users/jeremychen0127/received_events","type":"User","site_admin":false},"body":"@ayushin78 True. Thanks for catching that! Update has been pushed :)","created_at":"2016-10-22T03:42:11Z","updated_at":"2016-10-22T03:42:11Z","html_url":"https://github.com/jainaman224/Algo_Ds_Notes/pull/218#discussion_r84569305","pull_request_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/218","_links":{"self":{"href":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/comments/84569305"},"html":{"href":"https://github.com/jainaman224/Algo_Ds_Notes/pull/218#discussion_r84569305"},"pull_request":{"href":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/218"}}},"pull_request":{"url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/218","id":90466035,"html_url":"https://github.com/jainaman224/Algo_Ds_Notes/pull/218","diff_url":"https://github.com/jainaman224/Algo_Ds_Notes/pull/218.diff","patch_url":"https://github.com/jainaman224/Algo_Ds_Notes/pull/218.patch","issue_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/issues/218","number":218,"state":"open","locked":false,"title":"Added linked list length functions","user":{"login":"jeremychen0127","id":8950886,"avatar_url":"https://avatars.githubusercontent.com/u/8950886?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremychen0127","html_url":"https://github.com/jeremychen0127","followers_url":"https://api.github.com/users/jeremychen0127/followers","following_url":"https://api.github.com/users/jeremychen0127/following{/other_user}","gists_url":"https://api.github.com/users/jeremychen0127/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremychen0127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremychen0127/subscriptions","organizations_url":"https://api.github.com/users/jeremychen0127/orgs","repos_url":"https://api.github.com/users/jeremychen0127/repos","events_url":"https://api.github.com/users/jeremychen0127/events{/privacy}","received_events_url":"https://api.github.com/users/jeremychen0127/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-22T01:47:41Z","updated_at":"2016-10-22T03:42:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ceefdbc03d472d3506c102e5380cdcfa22cd6b8c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/218/commits","review_comments_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/218/comments","review_comment_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/issues/218/comments","statuses_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/statuses/d9ef647c3761ccc57d9c945a967692866926f9ce","head":{"label":"jeremychen0127:linked_list_length_functions","ref":"linked_list_length_functions","sha":"d9ef647c3761ccc57d9c945a967692866926f9ce","user":{"login":"jeremychen0127","id":8950886,"avatar_url":"https://avatars.githubusercontent.com/u/8950886?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremychen0127","html_url":"https://github.com/jeremychen0127","followers_url":"https://api.github.com/users/jeremychen0127/followers","following_url":"https://api.github.com/users/jeremychen0127/following{/other_user}","gists_url":"https://api.github.com/users/jeremychen0127/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremychen0127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremychen0127/subscriptions","organizations_url":"https://api.github.com/users/jeremychen0127/orgs","repos_url":"https://api.github.com/users/jeremychen0127/repos","events_url":"https://api.github.com/users/jeremychen0127/events{/privacy}","received_events_url":"https://api.github.com/users/jeremychen0127/received_events","type":"User","site_admin":false},"repo":{"id":66656625,"name":"Algo_Ds_Notes","full_name":"jeremychen0127/Algo_Ds_Notes","owner":{"login":"jeremychen0127","id":8950886,"avatar_url":"https://avatars.githubusercontent.com/u/8950886?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremychen0127","html_url":"https://github.com/jeremychen0127","followers_url":"https://api.github.com/users/jeremychen0127/followers","following_url":"https://api.github.com/users/jeremychen0127/following{/other_user}","gists_url":"https://api.github.com/users/jeremychen0127/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremychen0127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremychen0127/subscriptions","organizations_url":"https://api.github.com/users/jeremychen0127/orgs","repos_url":"https://api.github.com/users/jeremychen0127/repos","events_url":"https://api.github.com/users/jeremychen0127/events{/privacy}","received_events_url":"https://api.github.com/users/jeremychen0127/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeremychen0127/Algo_Ds_Notes","description":"It is a repository that is a collection of algorithms and data structures with implementation in various languages.","fork":true,"url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes","forks_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/forks","keys_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/teams","hooks_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/hooks","issue_events_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/issues/events{/number}","events_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/events","assignees_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/assignees{/user}","branches_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/branches{/branch}","tags_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/tags","blobs_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/statuses/{sha}","languages_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/languages","stargazers_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/stargazers","contributors_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/contributors","subscribers_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/subscribers","subscription_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/subscription","commits_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/contents/{+path}","compare_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/merges","archive_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/downloads","issues_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/issues{/number}","pulls_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/pulls{/number}","milestones_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/milestones{/number}","notifications_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/labels{/name}","releases_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/releases{/id}","deployments_url":"https://api.github.com/repos/jeremychen0127/Algo_Ds_Notes/deployments","created_at":"2016-08-26T15:02:25Z","updated_at":"2016-08-26T15:02:26Z","pushed_at":"2016-10-22T03:40:55Z","git_url":"git://github.com/jeremychen0127/Algo_Ds_Notes.git","ssh_url":"git@github.com:jeremychen0127/Algo_Ds_Notes.git","clone_url":"https://github.com/jeremychen0127/Algo_Ds_Notes.git","svn_url":"https://github.com/jeremychen0127/Algo_Ds_Notes","homepage":null,"size":228,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"jainaman224:master","ref":"master","sha":"a2df86acab50bbf553876cdad2762abcf67e6696","user":{"login":"jainaman224","id":13117482,"avatar_url":"https://avatars.githubusercontent.com/u/13117482?v=3","gravatar_id":"","url":"https://api.github.com/users/jainaman224","html_url":"https://github.com/jainaman224","followers_url":"https://api.github.com/users/jainaman224/followers","following_url":"https://api.github.com/users/jainaman224/following{/other_user}","gists_url":"https://api.github.com/users/jainaman224/gists{/gist_id}","starred_url":"https://api.github.com/users/jainaman224/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jainaman224/subscriptions","organizations_url":"https://api.github.com/users/jainaman224/orgs","repos_url":"https://api.github.com/users/jainaman224/repos","events_url":"https://api.github.com/users/jainaman224/events{/privacy}","received_events_url":"https://api.github.com/users/jainaman224/received_events","type":"User","site_admin":false},"repo":{"id":61426855,"name":"Algo_Ds_Notes","full_name":"jainaman224/Algo_Ds_Notes","owner":{"login":"jainaman224","id":13117482,"avatar_url":"https://avatars.githubusercontent.com/u/13117482?v=3","gravatar_id":"","url":"https://api.github.com/users/jainaman224","html_url":"https://github.com/jainaman224","followers_url":"https://api.github.com/users/jainaman224/followers","following_url":"https://api.github.com/users/jainaman224/following{/other_user}","gists_url":"https://api.github.com/users/jainaman224/gists{/gist_id}","starred_url":"https://api.github.com/users/jainaman224/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jainaman224/subscriptions","organizations_url":"https://api.github.com/users/jainaman224/orgs","repos_url":"https://api.github.com/users/jainaman224/repos","events_url":"https://api.github.com/users/jainaman224/events{/privacy}","received_events_url":"https://api.github.com/users/jainaman224/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jainaman224/Algo_Ds_Notes","description":"It is a repository that is a collection of algorithms and data structures with implementation in various languages.","fork":false,"url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes","forks_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/forks","keys_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/teams","hooks_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/hooks","issue_events_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/issues/events{/number}","events_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/events","assignees_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/assignees{/user}","branches_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/branches{/branch}","tags_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/tags","blobs_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/git/refs{/sha}","trees_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/statuses/{sha}","languages_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/languages","stargazers_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/stargazers","contributors_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/contributors","subscribers_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/subscribers","subscription_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/subscription","commits_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/commits{/sha}","git_commits_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/git/commits{/sha}","comments_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/comments{/number}","issue_comment_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/issues/comments{/number}","contents_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/contents/{+path}","compare_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/merges","archive_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/downloads","issues_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/issues{/number}","pulls_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls{/number}","milestones_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/milestones{/number}","notifications_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/labels{/name}","releases_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/releases{/id}","deployments_url":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/deployments","created_at":"2016-06-18T09:38:35Z","updated_at":"2016-10-22T03:01:09Z","pushed_at":"2016-10-22T03:40:56Z","git_url":"git://github.com/jainaman224/Algo_Ds_Notes.git","ssh_url":"git@github.com:jainaman224/Algo_Ds_Notes.git","clone_url":"https://github.com/jainaman224/Algo_Ds_Notes.git","svn_url":"https://github.com/jainaman224/Algo_Ds_Notes","homepage":null,"size":456,"stargazers_count":291,"watchers_count":291,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":116,"mirror_url":null,"open_issues_count":28,"forks":116,"open_issues":28,"watchers":291,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/218"},"html":{"href":"https://github.com/jainaman224/Algo_Ds_Notes/pull/218"},"issue":{"href":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/issues/218"},"comments":{"href":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/jainaman224/Algo_Ds_Notes/statuses/d9ef647c3761ccc57d9c945a967692866926f9ce"}}}}
{"actor":{"display_login":"jeremychen0127"}}