{"action":"created","comment":{"url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/comments/193951863","pull_request_review_id":127031087,"id":193951863,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Mzk1MTg2Mw==","diff_hunk":"@@ -0,0 +1,82 @@\n+class Node(object):\r\n+    def __init__(self, data, left = None, right = None):\r\n+        self.data = data\r\n+        self.left = left\r\n+        self.right = right\r\n+\r\n+class BST(object):\r\n+    def __init__(self):\r\n+        self.root = None\r\n+\r\n+    def insert(self, data):\r\n+        if self.root:\r\n+            temp = self.root\r\n+            prev = temp\r\n+            while temp:\r\n+                if temp.data == data:\r\n+                    return False\r\n+                elif data < temp.data:\r\n+                    prev = temp\r\n+                    temp = temp.left\r\n+                else:\r\n+                    prev = temp\r\n+                    temp = temp.right\r\n+\r\n+            if prev.data > data:\r","path":"Trees/BinarySearchTree.py","position":25,"original_position":25,"commit_id":"86193edefb747418180df1518847c1eaf4216636","original_commit_id":"86193edefb747418180df1518847c1eaf4216636","user":{"login":"kwanukwanu","id":37691692,"node_id":"MDQ6VXNlcjM3NjkxNjky","avatar_url":"https://avatars3.githubusercontent.com/u/37691692?v=4","gravatar_id":"","url":"https://api.github.com/users/kwanukwanu","html_url":"https://github.com/kwanukwanu","followers_url":"https://api.github.com/users/kwanukwanu/followers","following_url":"https://api.github.com/users/kwanukwanu/following{/other_user}","gists_url":"https://api.github.com/users/kwanukwanu/gists{/gist_id}","starred_url":"https://api.github.com/users/kwanukwanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwanukwanu/subscriptions","organizations_url":"https://api.github.com/users/kwanukwanu/orgs","repos_url":"https://api.github.com/users/kwanukwanu/repos","events_url":"https://api.github.com/users/kwanukwanu/events{/privacy}","received_events_url":"https://api.github.com/users/kwanukwanu/received_events","type":"User","site_admin":false},"body":"// if previous data is bigger than data, Node(data) becomes previous left","created_at":"2018-06-08T04:48:28Z","updated_at":"2018-06-08T04:48:28Z","html_url":"https://github.com/CodersForLife/Data-Structures-Algorithms/pull/175#discussion_r193951863","pull_request_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/175","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/comments/193951863"},"html":{"href":"https://github.com/CodersForLife/Data-Structures-Algorithms/pull/175#discussion_r193951863"},"pull_request":{"href":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/175","id":192988309,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyOTg4MzA5","html_url":"https://github.com/CodersForLife/Data-Structures-Algorithms/pull/175","diff_url":"https://github.com/CodersForLife/Data-Structures-Algorithms/pull/175.diff","patch_url":"https://github.com/CodersForLife/Data-Structures-Algorithms/pull/175.patch","issue_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/issues/175","number":175,"state":"open","locked":false,"title":" linked list implement in python","user":{"login":"highgarden7","id":37359858,"node_id":"MDQ6VXNlcjM3MzU5ODU4","avatar_url":"https://avatars1.githubusercontent.com/u/37359858?v=4","gravatar_id":"","url":"https://api.github.com/users/highgarden7","html_url":"https://github.com/highgarden7","followers_url":"https://api.github.com/users/highgarden7/followers","following_url":"https://api.github.com/users/highgarden7/following{/other_user}","gists_url":"https://api.github.com/users/highgarden7/gists{/gist_id}","starred_url":"https://api.github.com/users/highgarden7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highgarden7/subscriptions","organizations_url":"https://api.github.com/users/highgarden7/orgs","repos_url":"https://api.github.com/users/highgarden7/repos","events_url":"https://api.github.com/users/highgarden7/events{/privacy}","received_events_url":"https://api.github.com/users/highgarden7/received_events","type":"User","site_admin":false},"body":"### Submission Checklist\r\n<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply. -->\r\n<!-- All points should be verified, otherwise, read the CONTRIBUTING.md guidelines -->\r\n\r\n- [x] Your pull request targets the `master` branch of the repository.\r\n- [x] You have only one commit (if not, [squash](http://forum.freecodecamp.org/t/how-to-squash-multiple-commits-into-one-with-git/13231) them into one commit).\r\n- [x] You have read the [Contributing guidelines](https://github.com/CodersForLife/Data-Structures-Algorithms/blob/master/CONTRIBUTING.md) and your changes follow them.\r\n\r\n#### Type of Change\r\n<!-- What type of change does your code introduce? -->\r\n- [ ] Bug fix\r\n- [x] New implementation\r\n\r\n### PR Description\r\n<!-- Describe your changes in detail, if applicable. -->\r\nlinked list implement in python\r\nit has only two functions(insert, print)\r\n\r\nIssue #174 \r\n","created_at":"2018-06-06T11:53:33Z","updated_at":"2018-06-08T04:48:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b57acdea94eeb705cca5acadc14597a330aefd66","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/175/commits","review_comments_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/175/comments","review_comment_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/issues/175/comments","statuses_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/statuses/86193edefb747418180df1518847c1eaf4216636","head":{"label":"highgarden7:master","ref":"master","sha":"86193edefb747418180df1518847c1eaf4216636","user":{"login":"highgarden7","id":37359858,"node_id":"MDQ6VXNlcjM3MzU5ODU4","avatar_url":"https://avatars1.githubusercontent.com/u/37359858?v=4","gravatar_id":"","url":"https://api.github.com/users/highgarden7","html_url":"https://github.com/highgarden7","followers_url":"https://api.github.com/users/highgarden7/followers","following_url":"https://api.github.com/users/highgarden7/following{/other_user}","gists_url":"https://api.github.com/users/highgarden7/gists{/gist_id}","starred_url":"https://api.github.com/users/highgarden7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highgarden7/subscriptions","organizations_url":"https://api.github.com/users/highgarden7/orgs","repos_url":"https://api.github.com/users/highgarden7/repos","events_url":"https://api.github.com/users/highgarden7/events{/privacy}","received_events_url":"https://api.github.com/users/highgarden7/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"CodersForLife:master","ref":"master","sha":"1f9fb6d7267ffee086f8b102b1d465139b7f666f","user":{"login":"CodersForLife","id":30555631,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNTU1NjMx","avatar_url":"https://avatars3.githubusercontent.com/u/30555631?v=4","gravatar_id":"","url":"https://api.github.com/users/CodersForLife","html_url":"https://github.com/CodersForLife","followers_url":"https://api.github.com/users/CodersForLife/followers","following_url":"https://api.github.com/users/CodersForLife/following{/other_user}","gists_url":"https://api.github.com/users/CodersForLife/gists{/gist_id}","starred_url":"https://api.github.com/users/CodersForLife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodersForLife/subscriptions","organizations_url":"https://api.github.com/users/CodersForLife/orgs","repos_url":"https://api.github.com/users/CodersForLife/repos","events_url":"https://api.github.com/users/CodersForLife/events{/privacy}","received_events_url":"https://api.github.com/users/CodersForLife/received_events","type":"Organization","site_admin":false},"repo":{"id":106452109,"node_id":"MDEwOlJlcG9zaXRvcnkxMDY0NTIxMDk=","name":"Data-Structures-Algorithms","full_name":"CodersForLife/Data-Structures-Algorithms","owner":{"login":"CodersForLife","id":30555631,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNTU1NjMx","avatar_url":"https://avatars3.githubusercontent.com/u/30555631?v=4","gravatar_id":"","url":"https://api.github.com/users/CodersForLife","html_url":"https://github.com/CodersForLife","followers_url":"https://api.github.com/users/CodersForLife/followers","following_url":"https://api.github.com/users/CodersForLife/following{/other_user}","gists_url":"https://api.github.com/users/CodersForLife/gists{/gist_id}","starred_url":"https://api.github.com/users/CodersForLife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodersForLife/subscriptions","organizations_url":"https://api.github.com/users/CodersForLife/orgs","repos_url":"https://api.github.com/users/CodersForLife/repos","events_url":"https://api.github.com/users/CodersForLife/events{/privacy}","received_events_url":"https://api.github.com/users/CodersForLife/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodersForLife/Data-Structures-Algorithms","description":"Your personal library of every algorithm and data structure code that you will ever encounter","fork":false,"url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms","forks_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/forks","keys_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/teams","hooks_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/hooks","issue_events_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/events","assignees_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/tags","blobs_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/languages","stargazers_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/stargazers","contributors_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/contributors","subscribers_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/subscribers","subscription_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/subscription","commits_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/merges","archive_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/downloads","issues_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/deployments","created_at":"2017-10-10T17:55:09Z","updated_at":"2018-04-21T13:26:47Z","pushed_at":"2018-06-06T12:28:40Z","git_url":"git://github.com/CodersForLife/Data-Structures-Algorithms.git","ssh_url":"git@github.com:CodersForLife/Data-Structures-Algorithms.git","clone_url":"https://github.com/CodersForLife/Data-Structures-Algorithms.git","svn_url":"https://github.com/CodersForLife/Data-Structures-Algorithms","homepage":"","size":121,"stargazers_count":35,"watchers_count":35,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":95,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":95,"open_issues":44,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/175"},"html":{"href":"https://github.com/CodersForLife/Data-Structures-Algorithms/pull/175"},"issue":{"href":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/issues/175"},"comments":{"href":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/CodersForLife/Data-Structures-Algorithms/statuses/86193edefb747418180df1518847c1eaf4216636"}},"author_association":"NONE"}}
{"actor":{"display_login":"kwanukwanu"}}