{"action":"created","comment":{"url":"https://api.github.com/repos/shuoli7/bunny-code/pulls/comments/198702626","pull_request_review_id":132681013,"id":198702626,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODcwMjYyNg==","diff_hunk":"@@ -0,0 +1,34 @@\n+# Input: Two strings\n+# Output: Return True if the two strings are isomorphic\n+# Solution:\n+# Here I use two maps to store s->t mapping and t->s mapping\n+# Only when both maps has no key/value pairs, new pair is added to maps.\n+# If only one of the pair of character exists, then return False.\n+# If both characters in the pair exists in two dictionaries, but they are not 1-1 relationship,\n+# then return False\n+# If all characters in two strings are 1-1 relationship, we will return True.\n+\n+class Solution(object):\n+    def isIsomorphic(self, s, t):\n+        \"\"\"\n+        :type s: str\n+        :type t: str\n+        :rtype: bool\n+        \"\"\"","path":"L205_Isomorphic_Strings.py","position":17,"original_position":17,"commit_id":"63e1847e8335a53bca95442b9421ae8ffcddde3f","original_commit_id":"63e1847e8335a53bca95442b9421ae8ffcddde3f","user":{"login":"silulyu","id":12632922,"node_id":"MDQ6VXNlcjEyNjMyOTIy","avatar_url":"https://avatars1.githubusercontent.com/u/12632922?v=4","gravatar_id":"","url":"https://api.github.com/users/silulyu","html_url":"https://github.com/silulyu","followers_url":"https://api.github.com/users/silulyu/followers","following_url":"https://api.github.com/users/silulyu/following{/other_user}","gists_url":"https://api.github.com/users/silulyu/gists{/gist_id}","starred_url":"https://api.github.com/users/silulyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silulyu/subscriptions","organizations_url":"https://api.github.com/users/silulyu/orgs","repos_url":"https://api.github.com/users/silulyu/repos","events_url":"https://api.github.com/users/silulyu/events{/privacy}","received_events_url":"https://api.github.com/users/silulyu/received_events","type":"User","site_admin":false},"body":"yes","created_at":"2018-06-28T04:04:46Z","updated_at":"2018-06-28T04:04:46Z","html_url":"https://github.com/shuoli7/bunny-code/pull/17#discussion_r198702626","pull_request_url":"https://api.github.com/repos/shuoli7/bunny-code/pulls/17","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/shuoli7/bunny-code/pulls/comments/198702626"},"html":{"href":"https://github.com/shuoli7/bunny-code/pull/17#discussion_r198702626"},"pull_request":{"href":"https://api.github.com/repos/shuoli7/bunny-code/pulls/17"}},"in_reply_to_id":198698822},"pull_request":{"url":"https://api.github.com/repos/shuoli7/bunny-code/pulls/17","id":197621779,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NjIxNzc5","html_url":"https://github.com/shuoli7/bunny-code/pull/17","diff_url":"https://github.com/shuoli7/bunny-code/pull/17.diff","patch_url":"https://github.com/shuoli7/bunny-code/pull/17.patch","issue_url":"https://api.github.com/repos/shuoli7/bunny-code/issues/17","number":17,"state":"open","locked":false,"title":"Leetcode 205 Solution","user":{"login":"silulyu","id":12632922,"node_id":"MDQ6VXNlcjEyNjMyOTIy","avatar_url":"https://avatars1.githubusercontent.com/u/12632922?v=4","gravatar_id":"","url":"https://api.github.com/users/silulyu","html_url":"https://github.com/silulyu","followers_url":"https://api.github.com/users/silulyu/followers","following_url":"https://api.github.com/users/silulyu/following{/other_user}","gists_url":"https://api.github.com/users/silulyu/gists{/gist_id}","starred_url":"https://api.github.com/users/silulyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silulyu/subscriptions","organizations_url":"https://api.github.com/users/silulyu/orgs","repos_url":"https://api.github.com/users/silulyu/repos","events_url":"https://api.github.com/users/silulyu/events{/privacy}","received_events_url":"https://api.github.com/users/silulyu/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-27T05:44:35Z","updated_at":"2018-06-28T04:04:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25e5acc42825ddd8ebe2bac16dd3a33713b302f3","assignee":{"login":"shuoli7","id":5118437,"node_id":"MDQ6VXNlcjUxMTg0Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/5118437?v=4","gravatar_id":"","url":"https://api.github.com/users/shuoli7","html_url":"https://github.com/shuoli7","followers_url":"https://api.github.com/users/shuoli7/followers","following_url":"https://api.github.com/users/shuoli7/following{/other_user}","gists_url":"https://api.github.com/users/shuoli7/gists{/gist_id}","starred_url":"https://api.github.com/users/shuoli7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuoli7/subscriptions","organizations_url":"https://api.github.com/users/shuoli7/orgs","repos_url":"https://api.github.com/users/shuoli7/repos","events_url":"https://api.github.com/users/shuoli7/events{/privacy}","received_events_url":"https://api.github.com/users/shuoli7/received_events","type":"User","site_admin":false},"assignees":[{"login":"shuoli7","id":5118437,"node_id":"MDQ6VXNlcjUxMTg0Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/5118437?v=4","gravatar_id":"","url":"https://api.github.com/users/shuoli7","html_url":"https://github.com/shuoli7","followers_url":"https://api.github.com/users/shuoli7/followers","following_url":"https://api.github.com/users/shuoli7/following{/other_user}","gists_url":"https://api.github.com/users/shuoli7/gists{/gist_id}","starred_url":"https://api.github.com/users/shuoli7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuoli7/subscriptions","organizations_url":"https://api.github.com/users/shuoli7/orgs","repos_url":"https://api.github.com/users/shuoli7/repos","events_url":"https://api.github.com/users/shuoli7/events{/privacy}","received_events_url":"https://api.github.com/users/shuoli7/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shuoli7/bunny-code/pulls/17/commits","review_comments_url":"https://api.github.com/repos/shuoli7/bunny-code/pulls/17/comments","review_comment_url":"https://api.github.com/repos/shuoli7/bunny-code/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shuoli7/bunny-code/issues/17/comments","statuses_url":"https://api.github.com/repos/shuoli7/bunny-code/statuses/63e1847e8335a53bca95442b9421ae8ffcddde3f","head":{"label":"shuoli7:silulyu/lc205","ref":"silulyu/lc205","sha":"63e1847e8335a53bca95442b9421ae8ffcddde3f","user":{"login":"shuoli7","id":5118437,"node_id":"MDQ6VXNlcjUxMTg0Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/5118437?v=4","gravatar_id":"","url":"https://api.github.com/users/shuoli7","html_url":"https://github.com/shuoli7","followers_url":"https://api.github.com/users/shuoli7/followers","following_url":"https://api.github.com/users/shuoli7/following{/other_user}","gists_url":"https://api.github.com/users/shuoli7/gists{/gist_id}","starred_url":"https://api.github.com/users/shuoli7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuoli7/subscriptions","organizations_url":"https://api.github.com/users/shuoli7/orgs","repos_url":"https://api.github.com/users/shuoli7/repos","events_url":"https://api.github.com/users/shuoli7/events{/privacy}","received_events_url":"https://api.github.com/users/shuoli7/received_events","type":"User","site_admin":false},"repo":{"id":138072069,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgwNzIwNjk=","name":"bunny-code","full_name":"shuoli7/bunny-code","owner":{"login":"shuoli7","id":5118437,"node_id":"MDQ6VXNlcjUxMTg0Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/5118437?v=4","gravatar_id":"","url":"https://api.github.com/users/shuoli7","html_url":"https://github.com/shuoli7","followers_url":"https://api.github.com/users/shuoli7/followers","following_url":"https://api.github.com/users/shuoli7/following{/other_user}","gists_url":"https://api.github.com/users/shuoli7/gists{/gist_id}","starred_url":"https://api.github.com/users/shuoli7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuoli7/subscriptions","organizations_url":"https://api.github.com/users/shuoli7/orgs","repos_url":"https://api.github.com/users/shuoli7/repos","events_url":"https://api.github.com/users/shuoli7/events{/privacy}","received_events_url":"https://api.github.com/users/shuoli7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shuoli7/bunny-code","description":"A place to code and review code with bunny.","fork":false,"url":"https://api.github.com/repos/shuoli7/bunny-code","forks_url":"https://api.github.com/repos/shuoli7/bunny-code/forks","keys_url":"https://api.github.com/repos/shuoli7/bunny-code/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shuoli7/bunny-code/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shuoli7/bunny-code/teams","hooks_url":"https://api.github.com/repos/shuoli7/bunny-code/hooks","issue_events_url":"https://api.github.com/repos/shuoli7/bunny-code/issues/events{/number}","events_url":"https://api.github.com/repos/shuoli7/bunny-code/events","assignees_url":"https://api.github.com/repos/shuoli7/bunny-code/assignees{/user}","branches_url":"https://api.github.com/repos/shuoli7/bunny-code/branches{/branch}","tags_url":"https://api.github.com/repos/shuoli7/bunny-code/tags","blobs_url":"https://api.github.com/repos/shuoli7/bunny-code/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shuoli7/bunny-code/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shuoli7/bunny-code/git/refs{/sha}","trees_url":"https://api.github.com/repos/shuoli7/bunny-code/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shuoli7/bunny-code/statuses/{sha}","languages_url":"https://api.github.com/repos/shuoli7/bunny-code/languages","stargazers_url":"https://api.github.com/repos/shuoli7/bunny-code/stargazers","contributors_url":"https://api.github.com/repos/shuoli7/bunny-code/contributors","subscribers_url":"https://api.github.com/repos/shuoli7/bunny-code/subscribers","subscription_url":"https://api.github.com/repos/shuoli7/bunny-code/subscription","commits_url":"https://api.github.com/repos/shuoli7/bunny-code/commits{/sha}","git_commits_url":"https://api.github.com/repos/shuoli7/bunny-code/git/commits{/sha}","comments_url":"https://api.github.com/repos/shuoli7/bunny-code/comments{/number}","issue_comment_url":"https://api.github.com/repos/shuoli7/bunny-code/issues/comments{/number}","contents_url":"https://api.github.com/repos/shuoli7/bunny-code/contents/{+path}","compare_url":"https://api.github.com/repos/shuoli7/bunny-code/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shuoli7/bunny-code/merges","archive_url":"https://api.github.com/repos/shuoli7/bunny-code/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shuoli7/bunny-code/downloads","issues_url":"https://api.github.com/repos/shuoli7/bunny-code/issues{/number}","pulls_url":"https://api.github.com/repos/shuoli7/bunny-code/pulls{/number}","milestones_url":"https://api.github.com/repos/shuoli7/bunny-code/milestones{/number}","notifications_url":"https://api.github.com/repos/shuoli7/bunny-code/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shuoli7/bunny-code/labels{/name}","releases_url":"https://api.github.com/repos/shuoli7/bunny-code/releases{/id}","deployments_url":"https://api.github.com/repos/shuoli7/bunny-code/deployments","created_at":"2018-06-20T18:39:40Z","updated_at":"2018-06-23T05:53:57Z","pushed_at":"2018-06-28T04:02:57Z","git_url":"git://github.com/shuoli7/bunny-code.git","ssh_url":"git@github.com:shuoli7/bunny-code.git","clone_url":"https://github.com/shuoli7/bunny-code.git","svn_url":"https://github.com/shuoli7/bunny-code","homepage":null,"size":9,"stargazers_count":1,"watchers_count":1,"language":"Python","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":9,"license":null,"forks":1,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"shuoli7:master","ref":"master","sha":"ff48512a262967f1500e8ab4022e7bc5b4414ff6","user":{"login":"shuoli7","id":5118437,"node_id":"MDQ6VXNlcjUxMTg0Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/5118437?v=4","gravatar_id":"","url":"https://api.github.com/users/shuoli7","html_url":"https://github.com/shuoli7","followers_url":"https://api.github.com/users/shuoli7/followers","following_url":"https://api.github.com/users/shuoli7/following{/other_user}","gists_url":"https://api.github.com/users/shuoli7/gists{/gist_id}","starred_url":"https://api.github.com/users/shuoli7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuoli7/subscriptions","organizations_url":"https://api.github.com/users/shuoli7/orgs","repos_url":"https://api.github.com/users/shuoli7/repos","events_url":"https://api.github.com/users/shuoli7/events{/privacy}","received_events_url":"https://api.github.com/users/shuoli7/received_events","type":"User","site_admin":false},"repo":{"id":138072069,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgwNzIwNjk=","name":"bunny-code","full_name":"shuoli7/bunny-code","owner":{"login":"shuoli7","id":5118437,"node_id":"MDQ6VXNlcjUxMTg0Mzc=","avatar_url":"https://avatars0.githubusercontent.com/u/5118437?v=4","gravatar_id":"","url":"https://api.github.com/users/shuoli7","html_url":"https://github.com/shuoli7","followers_url":"https://api.github.com/users/shuoli7/followers","following_url":"https://api.github.com/users/shuoli7/following{/other_user}","gists_url":"https://api.github.com/users/shuoli7/gists{/gist_id}","starred_url":"https://api.github.com/users/shuoli7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuoli7/subscriptions","organizations_url":"https://api.github.com/users/shuoli7/orgs","repos_url":"https://api.github.com/users/shuoli7/repos","events_url":"https://api.github.com/users/shuoli7/events{/privacy}","received_events_url":"https://api.github.com/users/shuoli7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shuoli7/bunny-code","description":"A place to code and review code with bunny.","fork":false,"url":"https://api.github.com/repos/shuoli7/bunny-code","forks_url":"https://api.github.com/repos/shuoli7/bunny-code/forks","keys_url":"https://api.github.com/repos/shuoli7/bunny-code/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shuoli7/bunny-code/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shuoli7/bunny-code/teams","hooks_url":"https://api.github.com/repos/shuoli7/bunny-code/hooks","issue_events_url":"https://api.github.com/repos/shuoli7/bunny-code/issues/events{/number}","events_url":"https://api.github.com/repos/shuoli7/bunny-code/events","assignees_url":"https://api.github.com/repos/shuoli7/bunny-code/assignees{/user}","branches_url":"https://api.github.com/repos/shuoli7/bunny-code/branches{/branch}","tags_url":"https://api.github.com/repos/shuoli7/bunny-code/tags","blobs_url":"https://api.github.com/repos/shuoli7/bunny-code/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shuoli7/bunny-code/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shuoli7/bunny-code/git/refs{/sha}","trees_url":"https://api.github.com/repos/shuoli7/bunny-code/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shuoli7/bunny-code/statuses/{sha}","languages_url":"https://api.github.com/repos/shuoli7/bunny-code/languages","stargazers_url":"https://api.github.com/repos/shuoli7/bunny-code/stargazers","contributors_url":"https://api.github.com/repos/shuoli7/bunny-code/contributors","subscribers_url":"https://api.github.com/repos/shuoli7/bunny-code/subscribers","subscription_url":"https://api.github.com/repos/shuoli7/bunny-code/subscription","commits_url":"https://api.github.com/repos/shuoli7/bunny-code/commits{/sha}","git_commits_url":"https://api.github.com/repos/shuoli7/bunny-code/git/commits{/sha}","comments_url":"https://api.github.com/repos/shuoli7/bunny-code/comments{/number}","issue_comment_url":"https://api.github.com/repos/shuoli7/bunny-code/issues/comments{/number}","contents_url":"https://api.github.com/repos/shuoli7/bunny-code/contents/{+path}","compare_url":"https://api.github.com/repos/shuoli7/bunny-code/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shuoli7/bunny-code/merges","archive_url":"https://api.github.com/repos/shuoli7/bunny-code/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shuoli7/bunny-code/downloads","issues_url":"https://api.github.com/repos/shuoli7/bunny-code/issues{/number}","pulls_url":"https://api.github.com/repos/shuoli7/bunny-code/pulls{/number}","milestones_url":"https://api.github.com/repos/shuoli7/bunny-code/milestones{/number}","notifications_url":"https://api.github.com/repos/shuoli7/bunny-code/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shuoli7/bunny-code/labels{/name}","releases_url":"https://api.github.com/repos/shuoli7/bunny-code/releases{/id}","deployments_url":"https://api.github.com/repos/shuoli7/bunny-code/deployments","created_at":"2018-06-20T18:39:40Z","updated_at":"2018-06-23T05:53:57Z","pushed_at":"2018-06-28T04:02:57Z","git_url":"git://github.com/shuoli7/bunny-code.git","ssh_url":"git@github.com:shuoli7/bunny-code.git","clone_url":"https://github.com/shuoli7/bunny-code.git","svn_url":"https://github.com/shuoli7/bunny-code","homepage":null,"size":9,"stargazers_count":1,"watchers_count":1,"language":"Python","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":9,"license":null,"forks":1,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shuoli7/bunny-code/pulls/17"},"html":{"href":"https://github.com/shuoli7/bunny-code/pull/17"},"issue":{"href":"https://api.github.com/repos/shuoli7/bunny-code/issues/17"},"comments":{"href":"https://api.github.com/repos/shuoli7/bunny-code/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/shuoli7/bunny-code/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/shuoli7/bunny-code/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shuoli7/bunny-code/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/shuoli7/bunny-code/statuses/63e1847e8335a53bca95442b9421ae8ffcddde3f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"silulyu"}}