{"action":"created","comment":{"url":"https://api.github.com/repos/18mo/Algorithms/pulls/comments/71059745","id":71059745,"diff_hunk":"@@ -0,0 +1,84 @@\n+# Definition for a binary tree node.\n+class TreeNode(object):\n+    def __init__(self, x):\n+        self.val = x\n+        self.left = None\n+        self.right = None\n+\n+class Solution(object):\n+    def inorderTraversal(self, root):\n+        \"\"\"\n+        :type root: TreeNode\n+        :rtype: List[int]\n+        \"\"\"\n+        if not root: return []\n+        stack = [root]\n+        result = []\n+        while len(stack) != 0:","path":"fwang1/solutions/P094.py","position":17,"original_position":17,"commit_id":"3077627dbfc5eb8aca2f70d1d9c1bde6983a158a","original_commit_id":"3077627dbfc5eb8aca2f70d1d9c1bde6983a158a","user":{"login":"updownlife","id":3350366,"avatar_url":"https://avatars.githubusercontent.com/u/3350366?v=3","gravatar_id":"","url":"https://api.github.com/users/updownlife","html_url":"https://github.com/updownlife","followers_url":"https://api.github.com/users/updownlife/followers","following_url":"https://api.github.com/users/updownlife/following{/other_user}","gists_url":"https://api.github.com/users/updownlife/gists{/gist_id}","starred_url":"https://api.github.com/users/updownlife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/updownlife/subscriptions","organizations_url":"https://api.github.com/users/updownlife/orgs","repos_url":"https://api.github.com/users/updownlife/repos","events_url":"https://api.github.com/users/updownlife/events{/privacy}","received_events_url":"https://api.github.com/users/updownlife/received_events","type":"User","site_admin":false},"body":"use \"while stack:\" is more compact","created_at":"2016-07-16T02:47:05Z","updated_at":"2016-07-16T02:47:05Z","html_url":"https://github.com/18mo/Algorithms/pull/3#discussion_r71059745","pull_request_url":"https://api.github.com/repos/18mo/Algorithms/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/18mo/Algorithms/pulls/comments/71059745"},"html":{"href":"https://github.com/18mo/Algorithms/pull/3#discussion_r71059745"},"pull_request":{"href":"https://api.github.com/repos/18mo/Algorithms/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/18mo/Algorithms/pulls/3","id":77697863,"html_url":"https://github.com/18mo/Algorithms/pull/3","diff_url":"https://github.com/18mo/Algorithms/pull/3.diff","patch_url":"https://github.com/18mo/Algorithms/pull/3.patch","issue_url":"https://api.github.com/repos/18mo/Algorithms/issues/3","number":3,"state":"open","locked":false,"title":"init fwang1","user":{"login":"lionelfeng","id":3171807,"avatar_url":"https://avatars.githubusercontent.com/u/3171807?v=3","gravatar_id":"","url":"https://api.github.com/users/lionelfeng","html_url":"https://github.com/lionelfeng","followers_url":"https://api.github.com/users/lionelfeng/followers","following_url":"https://api.github.com/users/lionelfeng/following{/other_user}","gists_url":"https://api.github.com/users/lionelfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/lionelfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lionelfeng/subscriptions","organizations_url":"https://api.github.com/users/lionelfeng/orgs","repos_url":"https://api.github.com/users/lionelfeng/repos","events_url":"https://api.github.com/users/lionelfeng/events{/privacy}","received_events_url":"https://api.github.com/users/lionelfeng/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-16T02:13:10Z","updated_at":"2016-07-16T02:47:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81d46b2526394ef6f5ad90e693dbcfc20e2902aa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/18mo/Algorithms/pulls/3/commits","review_comments_url":"https://api.github.com/repos/18mo/Algorithms/pulls/3/comments","review_comment_url":"https://api.github.com/repos/18mo/Algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18mo/Algorithms/issues/3/comments","statuses_url":"https://api.github.com/repos/18mo/Algorithms/statuses/3077627dbfc5eb8aca2f70d1d9c1bde6983a158a","head":{"label":"lionelfeng:master","ref":"master","sha":"3077627dbfc5eb8aca2f70d1d9c1bde6983a158a","user":{"login":"lionelfeng","id":3171807,"avatar_url":"https://avatars.githubusercontent.com/u/3171807?v=3","gravatar_id":"","url":"https://api.github.com/users/lionelfeng","html_url":"https://github.com/lionelfeng","followers_url":"https://api.github.com/users/lionelfeng/followers","following_url":"https://api.github.com/users/lionelfeng/following{/other_user}","gists_url":"https://api.github.com/users/lionelfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/lionelfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lionelfeng/subscriptions","organizations_url":"https://api.github.com/users/lionelfeng/orgs","repos_url":"https://api.github.com/users/lionelfeng/repos","events_url":"https://api.github.com/users/lionelfeng/events{/privacy}","received_events_url":"https://api.github.com/users/lionelfeng/received_events","type":"User","site_admin":false},"repo":{"id":63460953,"name":"Algorithms","full_name":"lionelfeng/Algorithms","owner":{"login":"lionelfeng","id":3171807,"avatar_url":"https://avatars.githubusercontent.com/u/3171807?v=3","gravatar_id":"","url":"https://api.github.com/users/lionelfeng","html_url":"https://github.com/lionelfeng","followers_url":"https://api.github.com/users/lionelfeng/followers","following_url":"https://api.github.com/users/lionelfeng/following{/other_user}","gists_url":"https://api.github.com/users/lionelfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/lionelfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lionelfeng/subscriptions","organizations_url":"https://api.github.com/users/lionelfeng/orgs","repos_url":"https://api.github.com/users/lionelfeng/repos","events_url":"https://api.github.com/users/lionelfeng/events{/privacy}","received_events_url":"https://api.github.com/users/lionelfeng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lionelfeng/Algorithms","description":null,"fork":true,"url":"https://api.github.com/repos/lionelfeng/Algorithms","forks_url":"https://api.github.com/repos/lionelfeng/Algorithms/forks","keys_url":"https://api.github.com/repos/lionelfeng/Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lionelfeng/Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lionelfeng/Algorithms/teams","hooks_url":"https://api.github.com/repos/lionelfeng/Algorithms/hooks","issue_events_url":"https://api.github.com/repos/lionelfeng/Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/lionelfeng/Algorithms/events","assignees_url":"https://api.github.com/repos/lionelfeng/Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/lionelfeng/Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/lionelfeng/Algorithms/tags","blobs_url":"https://api.github.com/repos/lionelfeng/Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lionelfeng/Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lionelfeng/Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/lionelfeng/Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lionelfeng/Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/lionelfeng/Algorithms/languages","stargazers_url":"https://api.github.com/repos/lionelfeng/Algorithms/stargazers","contributors_url":"https://api.github.com/repos/lionelfeng/Algorithms/contributors","subscribers_url":"https://api.github.com/repos/lionelfeng/Algorithms/subscribers","subscription_url":"https://api.github.com/repos/lionelfeng/Algorithms/subscription","commits_url":"https://api.github.com/repos/lionelfeng/Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/lionelfeng/Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/lionelfeng/Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/lionelfeng/Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/lionelfeng/Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/lionelfeng/Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lionelfeng/Algorithms/merges","archive_url":"https://api.github.com/repos/lionelfeng/Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lionelfeng/Algorithms/downloads","issues_url":"https://api.github.com/repos/lionelfeng/Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/lionelfeng/Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/lionelfeng/Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/lionelfeng/Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lionelfeng/Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/lionelfeng/Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/lionelfeng/Algorithms/deployments","created_at":"2016-07-16T02:08:36Z","updated_at":"2016-07-16T02:08:37Z","pushed_at":"2016-07-16T02:12:49Z","git_url":"git://github.com/lionelfeng/Algorithms.git","ssh_url":"git@github.com:lionelfeng/Algorithms.git","clone_url":"https://github.com/lionelfeng/Algorithms.git","svn_url":"https://github.com/lionelfeng/Algorithms","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"18mo:master","ref":"master","sha":"04328b27b227a06dce7b5e59d4de4adb6b0d5672","user":{"login":"18mo","id":20484127,"avatar_url":"https://avatars.githubusercontent.com/u/20484127?v=3","gravatar_id":"","url":"https://api.github.com/users/18mo","html_url":"https://github.com/18mo","followers_url":"https://api.github.com/users/18mo/followers","following_url":"https://api.github.com/users/18mo/following{/other_user}","gists_url":"https://api.github.com/users/18mo/gists{/gist_id}","starred_url":"https://api.github.com/users/18mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18mo/subscriptions","organizations_url":"https://api.github.com/users/18mo/orgs","repos_url":"https://api.github.com/users/18mo/repos","events_url":"https://api.github.com/users/18mo/events{/privacy}","received_events_url":"https://api.github.com/users/18mo/received_events","type":"Organization","site_admin":false},"repo":{"id":63458480,"name":"Algorithms","full_name":"18mo/Algorithms","owner":{"login":"18mo","id":20484127,"avatar_url":"https://avatars.githubusercontent.com/u/20484127?v=3","gravatar_id":"","url":"https://api.github.com/users/18mo","html_url":"https://github.com/18mo","followers_url":"https://api.github.com/users/18mo/followers","following_url":"https://api.github.com/users/18mo/following{/other_user}","gists_url":"https://api.github.com/users/18mo/gists{/gist_id}","starred_url":"https://api.github.com/users/18mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18mo/subscriptions","organizations_url":"https://api.github.com/users/18mo/orgs","repos_url":"https://api.github.com/users/18mo/repos","events_url":"https://api.github.com/users/18mo/events{/privacy}","received_events_url":"https://api.github.com/users/18mo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18mo/Algorithms","description":null,"fork":false,"url":"https://api.github.com/repos/18mo/Algorithms","forks_url":"https://api.github.com/repos/18mo/Algorithms/forks","keys_url":"https://api.github.com/repos/18mo/Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18mo/Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18mo/Algorithms/teams","hooks_url":"https://api.github.com/repos/18mo/Algorithms/hooks","issue_events_url":"https://api.github.com/repos/18mo/Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/18mo/Algorithms/events","assignees_url":"https://api.github.com/repos/18mo/Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/18mo/Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/18mo/Algorithms/tags","blobs_url":"https://api.github.com/repos/18mo/Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18mo/Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18mo/Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/18mo/Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18mo/Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/18mo/Algorithms/languages","stargazers_url":"https://api.github.com/repos/18mo/Algorithms/stargazers","contributors_url":"https://api.github.com/repos/18mo/Algorithms/contributors","subscribers_url":"https://api.github.com/repos/18mo/Algorithms/subscribers","subscription_url":"https://api.github.com/repos/18mo/Algorithms/subscription","commits_url":"https://api.github.com/repos/18mo/Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/18mo/Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/18mo/Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/18mo/Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/18mo/Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/18mo/Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18mo/Algorithms/merges","archive_url":"https://api.github.com/repos/18mo/Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18mo/Algorithms/downloads","issues_url":"https://api.github.com/repos/18mo/Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/18mo/Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/18mo/Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/18mo/Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18mo/Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/18mo/Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/18mo/Algorithms/deployments","created_at":"2016-07-16T00:45:56Z","updated_at":"2016-07-16T00:49:46Z","pushed_at":"2016-07-16T02:13:10Z","git_url":"git://github.com/18mo/Algorithms.git","ssh_url":"git@github.com:18mo/Algorithms.git","clone_url":"https://github.com/18mo/Algorithms.git","svn_url":"https://github.com/18mo/Algorithms","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18mo/Algorithms/pulls/3"},"html":{"href":"https://github.com/18mo/Algorithms/pull/3"},"issue":{"href":"https://api.github.com/repos/18mo/Algorithms/issues/3"},"comments":{"href":"https://api.github.com/repos/18mo/Algorithms/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/18mo/Algorithms/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/18mo/Algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18mo/Algorithms/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/18mo/Algorithms/statuses/3077627dbfc5eb8aca2f70d1d9c1bde6983a158a"}}}}
{"actor":{"display_login":"updownlife"}}