{"action":"created","comment":{"url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/comments/202004662","pull_request_review_id":136613387,"id":202004662,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjAwNDY2Mg==","diff_hunk":"@@ -50,7 +50,7 @@ def get_last(self, num):\n \n \n def coding_problem_17(path_str):\n-    r\"\"\"","path":"daily_coding_problem_16_20.py","position":4,"original_position":4,"commit_id":"e4b73b8070f642301a324078dc5fab187de4ac68","original_commit_id":"e4b73b8070f642301a324078dc5fab187de4ac68","user":{"login":"Jedshady","id":8199745,"node_id":"MDQ6VXNlcjgxOTk3NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/8199745?v=4","gravatar_id":"","url":"https://api.github.com/users/Jedshady","html_url":"https://github.com/Jedshady","followers_url":"https://api.github.com/users/Jedshady/followers","following_url":"https://api.github.com/users/Jedshady/following{/other_user}","gists_url":"https://api.github.com/users/Jedshady/gists{/gist_id}","starred_url":"https://api.github.com/users/Jedshady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jedshady/subscriptions","organizations_url":"https://api.github.com/users/Jedshady/orgs","repos_url":"https://api.github.com/users/Jedshady/repos","events_url":"https://api.github.com/users/Jedshady/events{/privacy}","received_events_url":"https://api.github.com/users/Jedshady/received_events","type":"User","site_admin":false},"body":"Oh, yep, my bad. I forgot there are double quotes used in docstring already.","created_at":"2018-07-12T11:44:18Z","updated_at":"2018-07-12T11:44:18Z","html_url":"https://github.com/r1cc4rdo/daily_coding_problem/pull/3#discussion_r202004662","pull_request_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/3","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/comments/202004662"},"html":{"href":"https://github.com/r1cc4rdo/daily_coding_problem/pull/3#discussion_r202004662"},"pull_request":{"href":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/3"}},"in_reply_to_id":201993217},"pull_request":{"url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/3","id":200581719,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNTgxNzE5","html_url":"https://github.com/r1cc4rdo/daily_coding_problem/pull/3","diff_url":"https://github.com/r1cc4rdo/daily_coding_problem/pull/3.diff","patch_url":"https://github.com/r1cc4rdo/daily_coding_problem/pull/3.patch","issue_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/issues/3","number":3,"state":"open","locked":false,"title":"modify coding_problem_17:using a tree structure","user":{"login":"Jedshady","id":8199745,"node_id":"MDQ6VXNlcjgxOTk3NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/8199745?v=4","gravatar_id":"","url":"https://api.github.com/users/Jedshady","html_url":"https://github.com/Jedshady","followers_url":"https://api.github.com/users/Jedshady/followers","following_url":"https://api.github.com/users/Jedshady/following{/other_user}","gists_url":"https://api.github.com/users/Jedshady/gists{/gist_id}","starred_url":"https://api.github.com/users/Jedshady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jedshady/subscriptions","organizations_url":"https://api.github.com/users/Jedshady/orgs","repos_url":"https://api.github.com/users/Jedshady/repos","events_url":"https://api.github.com/users/Jedshady/events{/privacy}","received_events_url":"https://api.github.com/users/Jedshady/received_events","type":"User","site_admin":false},"body":"Hey mate,\r\nRun through this problem 17. I found yours is way simple and can easily fail if test case varies. I think this problem has to engage a tree structure. So I'm sharing my solution. Hopefully it is correct, but still not fully tested. Need further effort.\r\nCheers,\r\nKye","created_at":"2018-07-11T04:08:19Z","updated_at":"2018-07-12T11:44:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c3308ecdfe3d876021c18462c7e79b6d65d99b6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/3/commits","review_comments_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/3/comments","review_comment_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/issues/3/comments","statuses_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/statuses/e4b73b8070f642301a324078dc5fab187de4ac68","head":{"label":"Jedshady:master","ref":"master","sha":"e4b73b8070f642301a324078dc5fab187de4ac68","user":{"login":"Jedshady","id":8199745,"node_id":"MDQ6VXNlcjgxOTk3NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/8199745?v=4","gravatar_id":"","url":"https://api.github.com/users/Jedshady","html_url":"https://github.com/Jedshady","followers_url":"https://api.github.com/users/Jedshady/followers","following_url":"https://api.github.com/users/Jedshady/following{/other_user}","gists_url":"https://api.github.com/users/Jedshady/gists{/gist_id}","starred_url":"https://api.github.com/users/Jedshady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jedshady/subscriptions","organizations_url":"https://api.github.com/users/Jedshady/orgs","repos_url":"https://api.github.com/users/Jedshady/repos","events_url":"https://api.github.com/users/Jedshady/events{/privacy}","received_events_url":"https://api.github.com/users/Jedshady/received_events","type":"User","site_admin":false},"repo":{"id":139650371,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk2NTAzNzE=","name":"daily_coding_problem","full_name":"Jedshady/daily_coding_problem","owner":{"login":"Jedshady","id":8199745,"node_id":"MDQ6VXNlcjgxOTk3NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/8199745?v=4","gravatar_id":"","url":"https://api.github.com/users/Jedshady","html_url":"https://github.com/Jedshady","followers_url":"https://api.github.com/users/Jedshady/followers","following_url":"https://api.github.com/users/Jedshady/following{/other_user}","gists_url":"https://api.github.com/users/Jedshady/gists{/gist_id}","starred_url":"https://api.github.com/users/Jedshady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jedshady/subscriptions","organizations_url":"https://api.github.com/users/Jedshady/orgs","repos_url":"https://api.github.com/users/Jedshady/repos","events_url":"https://api.github.com/users/Jedshady/events{/privacy}","received_events_url":"https://api.github.com/users/Jedshady/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jedshady/daily_coding_problem","description":"Solutions to https://dailycodingproblem.com","fork":true,"url":"https://api.github.com/repos/Jedshady/daily_coding_problem","forks_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/forks","keys_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/teams","hooks_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/hooks","issue_events_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/issues/events{/number}","events_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/events","assignees_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/assignees{/user}","branches_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/branches{/branch}","tags_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/tags","blobs_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/statuses/{sha}","languages_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/languages","stargazers_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/stargazers","contributors_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/contributors","subscribers_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/subscribers","subscription_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/subscription","commits_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/contents/{+path}","compare_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/merges","archive_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/downloads","issues_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/issues{/number}","pulls_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/pulls{/number}","milestones_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/milestones{/number}","notifications_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/labels{/name}","releases_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/releases{/id}","deployments_url":"https://api.github.com/repos/Jedshady/daily_coding_problem/deployments","created_at":"2018-07-04T00:42:58Z","updated_at":"2018-07-11T04:04:10Z","pushed_at":"2018-07-11T04:04:08Z","git_url":"git://github.com/Jedshady/daily_coding_problem.git","ssh_url":"git@github.com:Jedshady/daily_coding_problem.git","clone_url":"https://github.com/Jedshady/daily_coding_problem.git","svn_url":"https://github.com/Jedshady/daily_coding_problem","homepage":null,"size":49,"stargazers_count":0,"watchers_count":0,"language":"Python","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":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"r1cc4rdo:master","ref":"master","sha":"cd98a87e43f76ecd331d4f074cd5909af5ab6f67","user":{"login":"r1cc4rdo","id":12174207,"node_id":"MDQ6VXNlcjEyMTc0MjA3","avatar_url":"https://avatars2.githubusercontent.com/u/12174207?v=4","gravatar_id":"","url":"https://api.github.com/users/r1cc4rdo","html_url":"https://github.com/r1cc4rdo","followers_url":"https://api.github.com/users/r1cc4rdo/followers","following_url":"https://api.github.com/users/r1cc4rdo/following{/other_user}","gists_url":"https://api.github.com/users/r1cc4rdo/gists{/gist_id}","starred_url":"https://api.github.com/users/r1cc4rdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r1cc4rdo/subscriptions","organizations_url":"https://api.github.com/users/r1cc4rdo/orgs","repos_url":"https://api.github.com/users/r1cc4rdo/repos","events_url":"https://api.github.com/users/r1cc4rdo/events{/privacy}","received_events_url":"https://api.github.com/users/r1cc4rdo/received_events","type":"User","site_admin":false},"repo":{"id":112893328,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI4OTMzMjg=","name":"daily_coding_problem","full_name":"r1cc4rdo/daily_coding_problem","owner":{"login":"r1cc4rdo","id":12174207,"node_id":"MDQ6VXNlcjEyMTc0MjA3","avatar_url":"https://avatars2.githubusercontent.com/u/12174207?v=4","gravatar_id":"","url":"https://api.github.com/users/r1cc4rdo","html_url":"https://github.com/r1cc4rdo","followers_url":"https://api.github.com/users/r1cc4rdo/followers","following_url":"https://api.github.com/users/r1cc4rdo/following{/other_user}","gists_url":"https://api.github.com/users/r1cc4rdo/gists{/gist_id}","starred_url":"https://api.github.com/users/r1cc4rdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r1cc4rdo/subscriptions","organizations_url":"https://api.github.com/users/r1cc4rdo/orgs","repos_url":"https://api.github.com/users/r1cc4rdo/repos","events_url":"https://api.github.com/users/r1cc4rdo/events{/privacy}","received_events_url":"https://api.github.com/users/r1cc4rdo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/r1cc4rdo/daily_coding_problem","description":"Solutions to https://dailycodingproblem.com","fork":false,"url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem","forks_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/forks","keys_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/teams","hooks_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/hooks","issue_events_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/issues/events{/number}","events_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/events","assignees_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/assignees{/user}","branches_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/branches{/branch}","tags_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/tags","blobs_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/git/refs{/sha}","trees_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/statuses/{sha}","languages_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/languages","stargazers_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/stargazers","contributors_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/contributors","subscribers_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/subscribers","subscription_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/subscription","commits_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/commits{/sha}","git_commits_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/git/commits{/sha}","comments_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/comments{/number}","issue_comment_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/issues/comments{/number}","contents_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/contents/{+path}","compare_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/merges","archive_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/downloads","issues_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/issues{/number}","pulls_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls{/number}","milestones_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/milestones{/number}","notifications_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/labels{/name}","releases_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/releases{/id}","deployments_url":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/deployments","created_at":"2017-12-03T02:18:27Z","updated_at":"2018-07-12T11:33:04Z","pushed_at":"2018-07-12T11:33:02Z","git_url":"git://github.com/r1cc4rdo/daily_coding_problem.git","ssh_url":"git@github.com:r1cc4rdo/daily_coding_problem.git","clone_url":"https://github.com/r1cc4rdo/daily_coding_problem.git","svn_url":"https://github.com/r1cc4rdo/daily_coding_problem","homepage":null,"size":52,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":3,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/3"},"html":{"href":"https://github.com/r1cc4rdo/daily_coding_problem/pull/3"},"issue":{"href":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/issues/3"},"comments":{"href":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/r1cc4rdo/daily_coding_problem/statuses/e4b73b8070f642301a324078dc5fab187de4ac68"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Jedshady"}}