{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/pulls/34","id":185341570,"html_url":"https://github.com/itsparth20/Data-structure-and-Algorithms/pull/34","diff_url":"https://github.com/itsparth20/Data-structure-and-Algorithms/pull/34.diff","patch_url":"https://github.com/itsparth20/Data-structure-and-Algorithms/pull/34.patch","issue_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/issues/34","number":34,"state":"open","locked":false,"title":"210. Course Schedule II","user":{"login":"ppatel20","id":36677357,"avatar_url":"https://avatars2.githubusercontent.com/u/36677357?v=4","gravatar_id":"","url":"https://api.github.com/users/ppatel20","html_url":"https://github.com/ppatel20","followers_url":"https://api.github.com/users/ppatel20/followers","following_url":"https://api.github.com/users/ppatel20/following{/other_user}","gists_url":"https://api.github.com/users/ppatel20/gists{/gist_id}","starred_url":"https://api.github.com/users/ppatel20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppatel20/subscriptions","organizations_url":"https://api.github.com/users/ppatel20/orgs","repos_url":"https://api.github.com/users/ppatel20/repos","events_url":"https://api.github.com/users/ppatel20/events{/privacy}","received_events_url":"https://api.github.com/users/ppatel20/received_events","type":"User","site_admin":false},"body":"https://leetcode.com/problems/course-schedule-ii/description/\r\n\r\nThere are a total of n courses you have to take, labeled from 0 to n-1.\r\n\r\nSome courses may have prerequisites, for example to take course 0 you\r\nhave to first take course 1, which is expressed as a pair: [0,1]\r\n\r\nGiven the total number of courses and a list of prerequisite pairs,\r\nreturn the ordering of courses you should take to finish all courses.\r\n\r\nThere may be multiple correct orders, you just need to return one of\r\nthem. If it is impossible to finish all courses, return an empty array.\r\n\r\nExample 1:\r\n\r\nInput: 2, [[1,0]]\r\nOutput: [0,1]\r\nExplanation: There are a total of 2 courses to take. To take course 1\r\n\t     you should have finished\r\n             course 0. So the correct course order is [0,1] .\r\nExample 2:\r\n\r\nInput: 4, [[1,0],[2,0],[3,1],[3,2]]\r\nOutput: [0,1,2,3] or [0,2,1,3]\r\nExplanation: There are a total of 4 courses to take. To take course 3\r\n\t\tyou should have finished both courses 1 and 2. Both\r\n\t\tcourses 1 and 2 should be taken after you finished course 0.\r\n             \tSo one correct course order is [0,1,2,3]. Another correct\r\n\t\tordering is [0,2,1,3] .","created_at":"2018-05-02T05:53:21Z","updated_at":"2018-05-02T05:53:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/pulls/34/commits","review_comments_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/pulls/34/comments","review_comment_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/issues/34/comments","statuses_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/statuses/68ff929822d74029a229c869335c2a88a053cc65","head":{"label":"ppatel20:master","ref":"master","sha":"68ff929822d74029a229c869335c2a88a053cc65","user":{"login":"ppatel20","id":36677357,"avatar_url":"https://avatars2.githubusercontent.com/u/36677357?v=4","gravatar_id":"","url":"https://api.github.com/users/ppatel20","html_url":"https://github.com/ppatel20","followers_url":"https://api.github.com/users/ppatel20/followers","following_url":"https://api.github.com/users/ppatel20/following{/other_user}","gists_url":"https://api.github.com/users/ppatel20/gists{/gist_id}","starred_url":"https://api.github.com/users/ppatel20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppatel20/subscriptions","organizations_url":"https://api.github.com/users/ppatel20/orgs","repos_url":"https://api.github.com/users/ppatel20/repos","events_url":"https://api.github.com/users/ppatel20/events{/privacy}","received_events_url":"https://api.github.com/users/ppatel20/received_events","type":"User","site_admin":false},"repo":{"id":123846786,"name":"Data-structure-and-Algorithms","full_name":"ppatel20/Data-structure-and-Algorithms","owner":{"login":"ppatel20","id":36677357,"avatar_url":"https://avatars2.githubusercontent.com/u/36677357?v=4","gravatar_id":"","url":"https://api.github.com/users/ppatel20","html_url":"https://github.com/ppatel20","followers_url":"https://api.github.com/users/ppatel20/followers","following_url":"https://api.github.com/users/ppatel20/following{/other_user}","gists_url":"https://api.github.com/users/ppatel20/gists{/gist_id}","starred_url":"https://api.github.com/users/ppatel20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppatel20/subscriptions","organizations_url":"https://api.github.com/users/ppatel20/orgs","repos_url":"https://api.github.com/users/ppatel20/repos","events_url":"https://api.github.com/users/ppatel20/events{/privacy}","received_events_url":"https://api.github.com/users/ppatel20/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ppatel20/Data-structure-and-Algorithms","description":null,"fork":true,"url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms","forks_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/forks","keys_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/teams","hooks_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/hooks","issue_events_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/events","assignees_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/tags","blobs_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/languages","stargazers_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/stargazers","contributors_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/contributors","subscribers_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/subscribers","subscription_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/subscription","commits_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/merges","archive_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/downloads","issues_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/ppatel20/Data-structure-and-Algorithms/deployments","created_at":"2018-03-05T01:21:22Z","updated_at":"2018-05-02T05:51:35Z","pushed_at":"2018-05-02T05:51:33Z","git_url":"git://github.com/ppatel20/Data-structure-and-Algorithms.git","ssh_url":"git@github.com:ppatel20/Data-structure-and-Algorithms.git","clone_url":"https://github.com/ppatel20/Data-structure-and-Algorithms.git","svn_url":"https://github.com/ppatel20/Data-structure-and-Algorithms","homepage":null,"size":11952,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"itsparth20:master","ref":"master","sha":"b70ce676413db81985a548b201da7b6e5fa7ecb8","user":{"login":"itsparth20","id":18038535,"avatar_url":"https://avatars3.githubusercontent.com/u/18038535?v=4","gravatar_id":"","url":"https://api.github.com/users/itsparth20","html_url":"https://github.com/itsparth20","followers_url":"https://api.github.com/users/itsparth20/followers","following_url":"https://api.github.com/users/itsparth20/following{/other_user}","gists_url":"https://api.github.com/users/itsparth20/gists{/gist_id}","starred_url":"https://api.github.com/users/itsparth20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsparth20/subscriptions","organizations_url":"https://api.github.com/users/itsparth20/orgs","repos_url":"https://api.github.com/users/itsparth20/repos","events_url":"https://api.github.com/users/itsparth20/events{/privacy}","received_events_url":"https://api.github.com/users/itsparth20/received_events","type":"User","site_admin":false},"repo":{"id":76157179,"name":"Data-structure-and-Algorithms","full_name":"itsparth20/Data-structure-and-Algorithms","owner":{"login":"itsparth20","id":18038535,"avatar_url":"https://avatars3.githubusercontent.com/u/18038535?v=4","gravatar_id":"","url":"https://api.github.com/users/itsparth20","html_url":"https://github.com/itsparth20","followers_url":"https://api.github.com/users/itsparth20/followers","following_url":"https://api.github.com/users/itsparth20/following{/other_user}","gists_url":"https://api.github.com/users/itsparth20/gists{/gist_id}","starred_url":"https://api.github.com/users/itsparth20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsparth20/subscriptions","organizations_url":"https://api.github.com/users/itsparth20/orgs","repos_url":"https://api.github.com/users/itsparth20/repos","events_url":"https://api.github.com/users/itsparth20/events{/privacy}","received_events_url":"https://api.github.com/users/itsparth20/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itsparth20/Data-structure-and-Algorithms","description":null,"fork":false,"url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms","forks_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/forks","keys_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/teams","hooks_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/hooks","issue_events_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/events","assignees_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/tags","blobs_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/languages","stargazers_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/stargazers","contributors_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/contributors","subscribers_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/subscribers","subscription_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/subscription","commits_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/merges","archive_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/downloads","issues_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/deployments","created_at":"2016-12-11T05:56:31Z","updated_at":"2018-04-24T06:20:31Z","pushed_at":"2018-04-24T06:20:30Z","git_url":"git://github.com/itsparth20/Data-structure-and-Algorithms.git","ssh_url":"git@github.com:itsparth20/Data-structure-and-Algorithms.git","clone_url":"https://github.com/itsparth20/Data-structure-and-Algorithms.git","svn_url":"https://github.com/itsparth20/Data-structure-and-Algorithms","homepage":null,"size":13079,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/pulls/34"},"html":{"href":"https://github.com/itsparth20/Data-structure-and-Algorithms/pull/34"},"issue":{"href":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/issues/34"},"comments":{"href":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/itsparth20/Data-structure-and-Algorithms/statuses/68ff929822d74029a229c869335c2a88a053cc65"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":157,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"ppatel20"}}