{"action":"created","comment":{"url":"https://api.github.com/repos/pydsa/pydsa/pulls/comments/77451319","id":77451319,"diff_hunk":"@@ -0,0 +1,42 @@\n+# Knutha Morrisa Pratt (KMP) for string matching\n+# Complexity: O(n)\n+# Reference used: http://code.activestate.com/recipes/117214/\n+\n+\n+def kmp(full_string, pattern):\n+    '''\n+    It takes two arguments, the main string and the patterb which is to be","path":"pydsa/kmp.py","position":8,"original_position":8,"commit_id":"578def2fa2c7da0d7991a45c81c19208351c1fe7","original_commit_id":"578def2fa2c7da0d7991a45c81c19208351c1fe7","user":{"login":"goelakash","id":6972804,"avatar_url":"https://avatars.githubusercontent.com/u/6972804?v=3","gravatar_id":"","url":"https://api.github.com/users/goelakash","html_url":"https://github.com/goelakash","followers_url":"https://api.github.com/users/goelakash/followers","following_url":"https://api.github.com/users/goelakash/following{/other_user}","gists_url":"https://api.github.com/users/goelakash/gists{/gist_id}","starred_url":"https://api.github.com/users/goelakash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goelakash/subscriptions","organizations_url":"https://api.github.com/users/goelakash/orgs","repos_url":"https://api.github.com/users/goelakash/repos","events_url":"https://api.github.com/users/goelakash/events{/privacy}","received_events_url":"https://api.github.com/users/goelakash/received_events","type":"User","site_admin":false},"body":"patterb -> pattern","created_at":"2016-09-04T12:06:37Z","updated_at":"2016-09-04T12:06:37Z","html_url":"https://github.com/pydsa/pydsa/pull/73#discussion_r77451319","pull_request_url":"https://api.github.com/repos/pydsa/pydsa/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/pydsa/pydsa/pulls/comments/77451319"},"html":{"href":"https://github.com/pydsa/pydsa/pull/73#discussion_r77451319"},"pull_request":{"href":"https://api.github.com/repos/pydsa/pydsa/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/pydsa/pydsa/pulls/73","id":67643309,"html_url":"https://github.com/pydsa/pydsa/pull/73","diff_url":"https://github.com/pydsa/pydsa/pull/73.diff","patch_url":"https://github.com/pydsa/pydsa/pull/73.patch","issue_url":"https://api.github.com/repos/pydsa/pydsa/issues/73","number":73,"state":"open","locked":false,"title":"Added Knuth Morris Prat (KMP)","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"body":"Added implementation of Knuth Morris Prat (KMP) algorithm for string comparison.\r\n--Team **Code-ologists**","created_at":"2016-04-24T17:11:53Z","updated_at":"2016-09-04T12:06:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0545f4358904a0ea3e525f322bcac9eb64959e60","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pydsa/pydsa/pulls/73/commits","review_comments_url":"https://api.github.com/repos/pydsa/pydsa/pulls/73/comments","review_comment_url":"https://api.github.com/repos/pydsa/pydsa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pydsa/pydsa/issues/73/comments","statuses_url":"https://api.github.com/repos/pydsa/pydsa/statuses/578def2fa2c7da0d7991a45c81c19208351c1fe7","head":{"label":null,"ref":"develop","sha":"578def2fa2c7da0d7991a45c81c19208351c1fe7","user":null,"repo":null},"base":{"label":"pydsa:master","ref":"master","sha":"fc5881f19069aad2037341edce7b05c25d59b6b6","user":{"login":"pydsa","id":17147213,"avatar_url":"https://avatars.githubusercontent.com/u/17147213?v=3","gravatar_id":"","url":"https://api.github.com/users/pydsa","html_url":"https://github.com/pydsa","followers_url":"https://api.github.com/users/pydsa/followers","following_url":"https://api.github.com/users/pydsa/following{/other_user}","gists_url":"https://api.github.com/users/pydsa/gists{/gist_id}","starred_url":"https://api.github.com/users/pydsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydsa/subscriptions","organizations_url":"https://api.github.com/users/pydsa/orgs","repos_url":"https://api.github.com/users/pydsa/repos","events_url":"https://api.github.com/users/pydsa/events{/privacy}","received_events_url":"https://api.github.com/users/pydsa/received_events","type":"Organization","site_admin":false},"repo":{"id":45967880,"name":"pydsa","full_name":"pydsa/pydsa","owner":{"login":"pydsa","id":17147213,"avatar_url":"https://avatars.githubusercontent.com/u/17147213?v=3","gravatar_id":"","url":"https://api.github.com/users/pydsa","html_url":"https://github.com/pydsa","followers_url":"https://api.github.com/users/pydsa/followers","following_url":"https://api.github.com/users/pydsa/following{/other_user}","gists_url":"https://api.github.com/users/pydsa/gists{/gist_id}","starred_url":"https://api.github.com/users/pydsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydsa/subscriptions","organizations_url":"https://api.github.com/users/pydsa/orgs","repos_url":"https://api.github.com/users/pydsa/repos","events_url":"https://api.github.com/users/pydsa/events{/privacy}","received_events_url":"https://api.github.com/users/pydsa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pydsa/pydsa","description":"Python Data Structure and Algorithms","fork":false,"url":"https://api.github.com/repos/pydsa/pydsa","forks_url":"https://api.github.com/repos/pydsa/pydsa/forks","keys_url":"https://api.github.com/repos/pydsa/pydsa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pydsa/pydsa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pydsa/pydsa/teams","hooks_url":"https://api.github.com/repos/pydsa/pydsa/hooks","issue_events_url":"https://api.github.com/repos/pydsa/pydsa/issues/events{/number}","events_url":"https://api.github.com/repos/pydsa/pydsa/events","assignees_url":"https://api.github.com/repos/pydsa/pydsa/assignees{/user}","branches_url":"https://api.github.com/repos/pydsa/pydsa/branches{/branch}","tags_url":"https://api.github.com/repos/pydsa/pydsa/tags","blobs_url":"https://api.github.com/repos/pydsa/pydsa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pydsa/pydsa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pydsa/pydsa/git/refs{/sha}","trees_url":"https://api.github.com/repos/pydsa/pydsa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pydsa/pydsa/statuses/{sha}","languages_url":"https://api.github.com/repos/pydsa/pydsa/languages","stargazers_url":"https://api.github.com/repos/pydsa/pydsa/stargazers","contributors_url":"https://api.github.com/repos/pydsa/pydsa/contributors","subscribers_url":"https://api.github.com/repos/pydsa/pydsa/subscribers","subscription_url":"https://api.github.com/repos/pydsa/pydsa/subscription","commits_url":"https://api.github.com/repos/pydsa/pydsa/commits{/sha}","git_commits_url":"https://api.github.com/repos/pydsa/pydsa/git/commits{/sha}","comments_url":"https://api.github.com/repos/pydsa/pydsa/comments{/number}","issue_comment_url":"https://api.github.com/repos/pydsa/pydsa/issues/comments{/number}","contents_url":"https://api.github.com/repos/pydsa/pydsa/contents/{+path}","compare_url":"https://api.github.com/repos/pydsa/pydsa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pydsa/pydsa/merges","archive_url":"https://api.github.com/repos/pydsa/pydsa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pydsa/pydsa/downloads","issues_url":"https://api.github.com/repos/pydsa/pydsa/issues{/number}","pulls_url":"https://api.github.com/repos/pydsa/pydsa/pulls{/number}","milestones_url":"https://api.github.com/repos/pydsa/pydsa/milestones{/number}","notifications_url":"https://api.github.com/repos/pydsa/pydsa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pydsa/pydsa/labels{/name}","releases_url":"https://api.github.com/repos/pydsa/pydsa/releases{/id}","deployments_url":"https://api.github.com/repos/pydsa/pydsa/deployments","created_at":"2015-11-11T08:00:29Z","updated_at":"2016-09-04T04:29:59Z","pushed_at":"2016-08-09T18:55:31Z","git_url":"git://github.com/pydsa/pydsa.git","ssh_url":"git@github.com:pydsa/pydsa.git","clone_url":"https://github.com/pydsa/pydsa.git","svn_url":"https://github.com/pydsa/pydsa","homepage":"http://pydsa.github.io","size":213,"stargazers_count":60,"watchers_count":60,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":45,"forks":62,"open_issues":45,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pydsa/pydsa/pulls/73"},"html":{"href":"https://github.com/pydsa/pydsa/pull/73"},"issue":{"href":"https://api.github.com/repos/pydsa/pydsa/issues/73"},"comments":{"href":"https://api.github.com/repos/pydsa/pydsa/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/pydsa/pydsa/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/pydsa/pydsa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pydsa/pydsa/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/pydsa/pydsa/statuses/578def2fa2c7da0d7991a45c81c19208351c1fe7"}}}}
{"actor":{"display_login":"goelakash"}}