{"action":"created","comment":{"url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/comments/119441751","pull_request_review_id":41321861,"id":119441751,"diff_hunk":"@@ -0,0 +1,209 @@\n+/** Assignment 2 Question 2: Find lowest common ancestor of two elements in a binary tree\r\n+ */\r\n+\r\n+import static org.junit.Assert.assertEquals;\r\n+\r\n+import org.junit.Test;\r\n+\r\n+/** An object of Result class contains\r\n+ * a \"potentialAncestor\" tree node: contain either p or q (or both) in its subtree\r\n+ * a boolean field \"isAncestor\": whether the potentialAncestor is the lowest common ancestor of p and q \r\n+ */\r\n+class Result{\r\n+\tNode<Integer> potentialAncestor = null;\r\n+\tboolean isAncestor = false;\r\n+\t\r\n+\tpublic Result(){\r\n+\t\tthis.potentialAncestor = null;\r\n+\t\tthis.isAncestor = false;\r\n+\t}\r\n+\tpublic Result(Node<Integer> potentialAncestor, boolean isAncestor){\r\n+\t\tthis.potentialAncestor = potentialAncestor;\r\n+\t\tthis.isAncestor = isAncestor;\r\n+\t}\r\n+}\r\n+\r\n+public class Q2 {\t\r\n+\t\r\n+\t/** findCommonAncestor(): finds lowest common ancestor of p and q in binary tree t\r\n+\t * \r\n+\t * @param t\r\n+\t * @param p\r\n+\t * @param q\r\n+\t */\r\n+\tpublic static String findCommonAncestor(Tree t, int p, int q){\r\n+\t\tStringBuilder str = new StringBuilder();\r\n+\t\tif(t == null){\r\n+\t\t\tstr.append(\"Tree not initiated\");\r\n+\t\t\treturn str.toString();\r\n+\t\t}\r\n+\t\tif(t.root == null){\r\n+\t\t\tstr.append(\"Empty tree\");\r\n+\t\t\treturn str.toString();\r\n+\t\t}\r\n+\t\tResult res = commonAncestorHelper(t.root, p, q);\r\n+\t\tif( res.potentialAncestor != null && res.isAncestor == true){\r\n+\t\t\tstr.append(\"Lowest Common Ancestor of \"+p+\" and \"+q+\" is \"+res.potentialAncestor.data);\r\n+\t\t\treturn str.toString();\r\n+\t\t}\r\n+\t\telse{\r\n+\t\t\tstr.append(\"Either \"+p+\" or \"+q+\" is not present\");\r\n+\t\t\treturn str.toString();\r\n+\t\t}\r\n+\t}\r\n+\t\r\n+\tstatic Result commonAncestorHelper(Node<Integer> root, int p, int q){\r\n+\t\t\t\t\r\n+\t\t//if root is null, then return null node as potentialAncestor with isAncestor = false\r\n+\t\tif(root == null){\r\n+\t\t\treturn new Result(null, false);\r\n+\t\t}\r\n+\t\t//System.out.println(\"Node: \"+root.data);\r\n+\t\t\r\n+\t\t//Check if root contains p\r\n+\t\tif(root.data == p){//if root contains p, then search for q in the subtree\r\n+\t\t\tif(find(root, q)){//if q is found in the subtree, then return root with isAncestor = true\r\n+\t\t\t\treturn new Result (root, true);\r\n+\t\t\t}\r\n+\t\t\t//if q is not found in the subtree, then return root as potentialAncestor\r\n+\t\t\t//with isAncestor = false, indicating that this node contains either p or q\r\n+\t\t\treturn new Result (root, false);\r\n+\t\t}\r\n+\t\t\r\n+\t\t//Check if root contains q\r\n+\t\tif(root.data == q){//if root contains q, then search for q in the subtree\t\t\t\r\n+\t\t\tif(find(root, p)){//if p is found in the subtree, then return root with isAncestor = true\r\n+\t\t\t\treturn new Result (root, true);\r\n+\t\t\t}\r\n+\t\t\t//if p is not found in the subtree, then return root as potentialAncestor\r\n+\t\t\t//with isAncestor = false, indicating that this node contains either p or q\r\n+\t\t\treturn new Result (root, false);\r\n+\t\t}\r\n+\t\t\r\n+\t\t//If root does not contain p or q, look at the left subtree for p or q\r\n+\t\tResult leftRes = commonAncestorHelper(root.left, p, q);\r\n+\t\t\r\n+\t\t//Check whether left subtree has already found the common ancestor\r\n+\t\tif(leftRes.isAncestor){//If yes, return the common ancestor obtained from left subtree\r\n+\t\t\treturn leftRes;\r\n+\t\t}\r\n+\r\n+\t\t//If common ancestor id not yet found in left subtree, look at right subtree for p or q\r\n+\t\tResult rightRes = commonAncestorHelper(root.right, p, q);\r\n+\t\t//Check whether right subtree has already found the common ancestor\r\n+\t\tif(rightRes.isAncestor){//If yes, return the common ancestor obtained from right subtree\r\n+\t\t\treturn rightRes;\r\n+\t\t}\r\n+\t\t\r\n+\t\t//If common ancestor is not obtained from left or right subtree\r\n+\t\t//check whether both left and right has got either p or q (the potentialAncestor field of Result captures it) \r\n+\t\tif(leftRes.potentialAncestor != null && rightRes.potentialAncestor != null){\r\n+\t\t\t//If both left and right subtree has one of p or q, then root is the common ancestor\r\n+\t\t\treturn new Result(root, true);\r\n+\t\t}\r\n+\t\t\r\n+\t\t//Check whether any one of left or right has p or q\r\n+\t\tif(leftRes.potentialAncestor != null || rightRes.potentialAncestor != null){\r\n+\t\t\t//then root is a potentialAncestor\r\n+\t\t\treturn new Result(root, false);\r\n+\t\t}\r\n+\t\t\r\n+\t\t//If none of the above is true, then the root along with the subtree neither contain p nor q\r\n+\t\t//hence return null as potentialAncestor with isAncestor = false\r\n+\t\treturn new Result(null, false);\r\n+\t}\r\n+\t\r\n+\tstatic boolean find(Node<Integer> root, int num){\r\n+\t\tif(root == null){\r\n+\t\t\treturn false;\t\t\r\n+\t\t}\r\n+\t\tif( (root.data == num) || find(root.left, num) || find(root.right, num) ){\r\n+\t\t\treturn true;\r\n+\t\t}\r\n+\t\treturn false;\r\n+\t}\r\n+\t\r\n+\tpublic static void main(String[] args) {\r\n+\t\t\r\n+\t\t//Tests\r\n+\t\ttestNullTree(); //When (t == null)\r\n+\t\ttestEmptyTree(); //When (t.root == null)\r\n+\t\ttestElementsNotPresent(); //When p, q or both not present in the tree\r\n+\t\ttestSamePQ(); //When p and q \r","path":"Q2.java","position":137,"original_position":132,"commit_id":"91a4c90d4c1773503e3b6886b294fe6a43e2d61f","original_commit_id":"293f7616c775891444a58cfc8b9465d41a280d5f","user":{"login":"arpita-biswas","id":9715902,"avatar_url":"https://avatars0.githubusercontent.com/u/9715902?v=3","gravatar_id":"","url":"https://api.github.com/users/arpita-biswas","html_url":"https://github.com/arpita-biswas","followers_url":"https://api.github.com/users/arpita-biswas/followers","following_url":"https://api.github.com/users/arpita-biswas/following{/other_user}","gists_url":"https://api.github.com/users/arpita-biswas/gists{/gist_id}","starred_url":"https://api.github.com/users/arpita-biswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpita-biswas/subscriptions","organizations_url":"https://api.github.com/users/arpita-biswas/orgs","repos_url":"https://api.github.com/users/arpita-biswas/repos","events_url":"https://api.github.com/users/arpita-biswas/events{/privacy}","received_events_url":"https://api.github.com/users/arpita-biswas/received_events","type":"User","site_admin":false},"body":"Thank you","created_at":"2017-05-31T18:47:57Z","updated_at":"2017-05-31T18:47:57Z","html_url":"https://github.com/arpita-biswas/CodeU_Assignment2/pull/1#discussion_r119441751","pull_request_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/comments/119441751"},"html":{"href":"https://github.com/arpita-biswas/CodeU_Assignment2/pull/1#discussion_r119441751"},"pull_request":{"href":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/1","id":123008688,"html_url":"https://github.com/arpita-biswas/CodeU_Assignment2/pull/1","diff_url":"https://github.com/arpita-biswas/CodeU_Assignment2/pull/1.diff","patch_url":"https://github.com/arpita-biswas/CodeU_Assignment2/pull/1.patch","issue_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues/1","number":1,"state":"open","locked":false,"title":"Review","user":{"login":"arpita-biswas","id":9715902,"avatar_url":"https://avatars0.githubusercontent.com/u/9715902?v=3","gravatar_id":"","url":"https://api.github.com/users/arpita-biswas","html_url":"https://github.com/arpita-biswas","followers_url":"https://api.github.com/users/arpita-biswas/followers","following_url":"https://api.github.com/users/arpita-biswas/following{/other_user}","gists_url":"https://api.github.com/users/arpita-biswas/gists{/gist_id}","starred_url":"https://api.github.com/users/arpita-biswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpita-biswas/subscriptions","organizations_url":"https://api.github.com/users/arpita-biswas/orgs","repos_url":"https://api.github.com/users/arpita-biswas/repos","events_url":"https://api.github.com/users/arpita-biswas/events{/privacy}","received_events_url":"https://api.github.com/users/arpita-biswas/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-30T09:39:02Z","updated_at":"2017-05-31T18:47:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"917823f5c1091a8e414489bcd9a2a854eb3adf4e","assignee":{"login":"Thomas-de-Rivaz","id":28395641,"avatar_url":"https://avatars1.githubusercontent.com/u/28395641?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomas-de-Rivaz","html_url":"https://github.com/Thomas-de-Rivaz","followers_url":"https://api.github.com/users/Thomas-de-Rivaz/followers","following_url":"https://api.github.com/users/Thomas-de-Rivaz/following{/other_user}","gists_url":"https://api.github.com/users/Thomas-de-Rivaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomas-de-Rivaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomas-de-Rivaz/subscriptions","organizations_url":"https://api.github.com/users/Thomas-de-Rivaz/orgs","repos_url":"https://api.github.com/users/Thomas-de-Rivaz/repos","events_url":"https://api.github.com/users/Thomas-de-Rivaz/events{/privacy}","received_events_url":"https://api.github.com/users/Thomas-de-Rivaz/received_events","type":"User","site_admin":false},"assignees":[{"login":"Thomas-de-Rivaz","id":28395641,"avatar_url":"https://avatars1.githubusercontent.com/u/28395641?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomas-de-Rivaz","html_url":"https://github.com/Thomas-de-Rivaz","followers_url":"https://api.github.com/users/Thomas-de-Rivaz/followers","following_url":"https://api.github.com/users/Thomas-de-Rivaz/following{/other_user}","gists_url":"https://api.github.com/users/Thomas-de-Rivaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomas-de-Rivaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomas-de-Rivaz/subscriptions","organizations_url":"https://api.github.com/users/Thomas-de-Rivaz/orgs","repos_url":"https://api.github.com/users/Thomas-de-Rivaz/repos","events_url":"https://api.github.com/users/Thomas-de-Rivaz/events{/privacy}","received_events_url":"https://api.github.com/users/Thomas-de-Rivaz/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues/1/comments","statuses_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/statuses/91a4c90d4c1773503e3b6886b294fe6a43e2d61f","head":{"label":"arpita-biswas:review","ref":"review","sha":"91a4c90d4c1773503e3b6886b294fe6a43e2d61f","user":{"login":"arpita-biswas","id":9715902,"avatar_url":"https://avatars0.githubusercontent.com/u/9715902?v=3","gravatar_id":"","url":"https://api.github.com/users/arpita-biswas","html_url":"https://github.com/arpita-biswas","followers_url":"https://api.github.com/users/arpita-biswas/followers","following_url":"https://api.github.com/users/arpita-biswas/following{/other_user}","gists_url":"https://api.github.com/users/arpita-biswas/gists{/gist_id}","starred_url":"https://api.github.com/users/arpita-biswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpita-biswas/subscriptions","organizations_url":"https://api.github.com/users/arpita-biswas/orgs","repos_url":"https://api.github.com/users/arpita-biswas/repos","events_url":"https://api.github.com/users/arpita-biswas/events{/privacy}","received_events_url":"https://api.github.com/users/arpita-biswas/received_events","type":"User","site_admin":false},"repo":{"id":92516863,"name":"CodeU_Assignment2","full_name":"arpita-biswas/CodeU_Assignment2","owner":{"login":"arpita-biswas","id":9715902,"avatar_url":"https://avatars0.githubusercontent.com/u/9715902?v=3","gravatar_id":"","url":"https://api.github.com/users/arpita-biswas","html_url":"https://github.com/arpita-biswas","followers_url":"https://api.github.com/users/arpita-biswas/followers","following_url":"https://api.github.com/users/arpita-biswas/following{/other_user}","gists_url":"https://api.github.com/users/arpita-biswas/gists{/gist_id}","starred_url":"https://api.github.com/users/arpita-biswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpita-biswas/subscriptions","organizations_url":"https://api.github.com/users/arpita-biswas/orgs","repos_url":"https://api.github.com/users/arpita-biswas/repos","events_url":"https://api.github.com/users/arpita-biswas/events{/privacy}","received_events_url":"https://api.github.com/users/arpita-biswas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arpita-biswas/CodeU_Assignment2","description":null,"fork":false,"url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2","forks_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/forks","keys_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/teams","hooks_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/hooks","issue_events_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues/events{/number}","events_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/events","assignees_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/assignees{/user}","branches_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/branches{/branch}","tags_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/tags","blobs_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/refs{/sha}","trees_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/statuses/{sha}","languages_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/languages","stargazers_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/stargazers","contributors_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/contributors","subscribers_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/subscribers","subscription_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/subscription","commits_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/commits{/sha}","git_commits_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/commits{/sha}","comments_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/comments{/number}","issue_comment_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues/comments{/number}","contents_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/contents/{+path}","compare_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/merges","archive_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/downloads","issues_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues{/number}","pulls_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls{/number}","milestones_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/milestones{/number}","notifications_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/labels{/name}","releases_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/releases{/id}","deployments_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/deployments","created_at":"2017-05-26T14:07:51Z","updated_at":"2017-05-26T14:07:51Z","pushed_at":"2017-05-31T18:43:44Z","git_url":"git://github.com/arpita-biswas/CodeU_Assignment2.git","ssh_url":"git@github.com:arpita-biswas/CodeU_Assignment2.git","clone_url":"https://github.com/arpita-biswas/CodeU_Assignment2.git","svn_url":"https://github.com/arpita-biswas/CodeU_Assignment2","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"arpita-biswas:master","ref":"master","sha":"c1c7b3e71621c07ee941d7cf8f51db3dbdfcc740","user":{"login":"arpita-biswas","id":9715902,"avatar_url":"https://avatars0.githubusercontent.com/u/9715902?v=3","gravatar_id":"","url":"https://api.github.com/users/arpita-biswas","html_url":"https://github.com/arpita-biswas","followers_url":"https://api.github.com/users/arpita-biswas/followers","following_url":"https://api.github.com/users/arpita-biswas/following{/other_user}","gists_url":"https://api.github.com/users/arpita-biswas/gists{/gist_id}","starred_url":"https://api.github.com/users/arpita-biswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpita-biswas/subscriptions","organizations_url":"https://api.github.com/users/arpita-biswas/orgs","repos_url":"https://api.github.com/users/arpita-biswas/repos","events_url":"https://api.github.com/users/arpita-biswas/events{/privacy}","received_events_url":"https://api.github.com/users/arpita-biswas/received_events","type":"User","site_admin":false},"repo":{"id":92516863,"name":"CodeU_Assignment2","full_name":"arpita-biswas/CodeU_Assignment2","owner":{"login":"arpita-biswas","id":9715902,"avatar_url":"https://avatars0.githubusercontent.com/u/9715902?v=3","gravatar_id":"","url":"https://api.github.com/users/arpita-biswas","html_url":"https://github.com/arpita-biswas","followers_url":"https://api.github.com/users/arpita-biswas/followers","following_url":"https://api.github.com/users/arpita-biswas/following{/other_user}","gists_url":"https://api.github.com/users/arpita-biswas/gists{/gist_id}","starred_url":"https://api.github.com/users/arpita-biswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpita-biswas/subscriptions","organizations_url":"https://api.github.com/users/arpita-biswas/orgs","repos_url":"https://api.github.com/users/arpita-biswas/repos","events_url":"https://api.github.com/users/arpita-biswas/events{/privacy}","received_events_url":"https://api.github.com/users/arpita-biswas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arpita-biswas/CodeU_Assignment2","description":null,"fork":false,"url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2","forks_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/forks","keys_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/teams","hooks_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/hooks","issue_events_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues/events{/number}","events_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/events","assignees_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/assignees{/user}","branches_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/branches{/branch}","tags_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/tags","blobs_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/refs{/sha}","trees_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/statuses/{sha}","languages_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/languages","stargazers_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/stargazers","contributors_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/contributors","subscribers_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/subscribers","subscription_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/subscription","commits_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/commits{/sha}","git_commits_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/git/commits{/sha}","comments_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/comments{/number}","issue_comment_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues/comments{/number}","contents_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/contents/{+path}","compare_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/merges","archive_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/downloads","issues_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues{/number}","pulls_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls{/number}","milestones_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/milestones{/number}","notifications_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/labels{/name}","releases_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/releases{/id}","deployments_url":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/deployments","created_at":"2017-05-26T14:07:51Z","updated_at":"2017-05-26T14:07:51Z","pushed_at":"2017-05-31T18:43:44Z","git_url":"git://github.com/arpita-biswas/CodeU_Assignment2.git","ssh_url":"git@github.com:arpita-biswas/CodeU_Assignment2.git","clone_url":"https://github.com/arpita-biswas/CodeU_Assignment2.git","svn_url":"https://github.com/arpita-biswas/CodeU_Assignment2","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/1"},"html":{"href":"https://github.com/arpita-biswas/CodeU_Assignment2/pull/1"},"issue":{"href":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues/1"},"comments":{"href":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/arpita-biswas/CodeU_Assignment2/statuses/91a4c90d4c1773503e3b6886b294fe6a43e2d61f"}}}}
{"actor":{"display_login":"arpita-biswas"}}