{"action":"created","comment":{"url":"https://api.github.com/repos/llipio/algorithms/pulls/comments/122284797","pull_request_review_id":44388161,"id":122284797,"diff_hunk":"@@ -20,6 +20,22 @@ const solution = (arr) => {\n   }\n   return word;\n };\n+\n+const solution1 = (arr) => {\n+  let big = arr[0];\n+  let i = 1;\n+  while(i < arr.length){\n+    if (big.length < arr[i].length){\n+      big = arr[i];\n+      i++;","path":"solutions/31.js","position":null,"original_position":27,"commit_id":"f5a0be489920e286e9812dc98c4198d085debb58","original_commit_id":"eaa45f7cc8a6f168a2c41cde2a154df58786e672","user":{"login":"seemcat","id":11692241,"avatar_url":"https://avatars2.githubusercontent.com/u/11692241?v=3","gravatar_id":"","url":"https://api.github.com/users/seemcat","html_url":"https://github.com/seemcat","followers_url":"https://api.github.com/users/seemcat/followers","following_url":"https://api.github.com/users/seemcat/following{/other_user}","gists_url":"https://api.github.com/users/seemcat/gists{/gist_id}","starred_url":"https://api.github.com/users/seemcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seemcat/subscriptions","organizations_url":"https://api.github.com/users/seemcat/orgs","repos_url":"https://api.github.com/users/seemcat/repos","events_url":"https://api.github.com/users/seemcat/events{/privacy}","received_events_url":"https://api.github.com/users/seemcat/received_events","type":"User","site_admin":false},"body":"Resolved. Thanks!","created_at":"2017-06-15T18:58:55Z","updated_at":"2017-06-15T18:58:55Z","html_url":"https://github.com/llipio/algorithms/pull/99#discussion_r122284797","pull_request_url":"https://api.github.com/repos/llipio/algorithms/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/llipio/algorithms/pulls/comments/122284797"},"html":{"href":"https://github.com/llipio/algorithms/pull/99#discussion_r122284797"},"pull_request":{"href":"https://api.github.com/repos/llipio/algorithms/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/llipio/algorithms/pulls/99","id":124925145,"html_url":"https://github.com/llipio/algorithms/pull/99","diff_url":"https://github.com/llipio/algorithms/pull/99.diff","patch_url":"https://github.com/llipio/algorithms/pull/99.patch","issue_url":"https://api.github.com/repos/llipio/algorithms/issues/99","number":99,"state":"open","locked":false,"title":"Test & Solution for #31.","user":{"login":"seemcat","id":11692241,"avatar_url":"https://avatars2.githubusercontent.com/u/11692241?v=3","gravatar_id":"","url":"https://api.github.com/users/seemcat","html_url":"https://github.com/seemcat","followers_url":"https://api.github.com/users/seemcat/followers","following_url":"https://api.github.com/users/seemcat/following{/other_user}","gists_url":"https://api.github.com/users/seemcat/gists{/gist_id}","starred_url":"https://api.github.com/users/seemcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seemcat/subscriptions","organizations_url":"https://api.github.com/users/seemcat/orgs","repos_url":"https://api.github.com/users/seemcat/repos","events_url":"https://api.github.com/users/seemcat/events{/privacy}","received_events_url":"https://api.github.com/users/seemcat/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-09T18:30:41Z","updated_at":"2017-06-15T18:58:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c60893bc3a106266e82af3e00c1f2d4fb2c76926","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/llipio/algorithms/pulls/99/commits","review_comments_url":"https://api.github.com/repos/llipio/algorithms/pulls/99/comments","review_comment_url":"https://api.github.com/repos/llipio/algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/llipio/algorithms/issues/99/comments","statuses_url":"https://api.github.com/repos/llipio/algorithms/statuses/f5a0be489920e286e9812dc98c4198d085debb58","head":{"label":"seemcat:mc9","ref":"mc9","sha":"f5a0be489920e286e9812dc98c4198d085debb58","user":{"login":"seemcat","id":11692241,"avatar_url":"https://avatars2.githubusercontent.com/u/11692241?v=3","gravatar_id":"","url":"https://api.github.com/users/seemcat","html_url":"https://github.com/seemcat","followers_url":"https://api.github.com/users/seemcat/followers","following_url":"https://api.github.com/users/seemcat/following{/other_user}","gists_url":"https://api.github.com/users/seemcat/gists{/gist_id}","starred_url":"https://api.github.com/users/seemcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seemcat/subscriptions","organizations_url":"https://api.github.com/users/seemcat/orgs","repos_url":"https://api.github.com/users/seemcat/repos","events_url":"https://api.github.com/users/seemcat/events{/privacy}","received_events_url":"https://api.github.com/users/seemcat/received_events","type":"User","site_admin":false},"repo":{"id":88297312,"name":"algorithms","full_name":"seemcat/algorithms","owner":{"login":"seemcat","id":11692241,"avatar_url":"https://avatars2.githubusercontent.com/u/11692241?v=3","gravatar_id":"","url":"https://api.github.com/users/seemcat","html_url":"https://github.com/seemcat","followers_url":"https://api.github.com/users/seemcat/followers","following_url":"https://api.github.com/users/seemcat/following{/other_user}","gists_url":"https://api.github.com/users/seemcat/gists{/gist_id}","starred_url":"https://api.github.com/users/seemcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seemcat/subscriptions","organizations_url":"https://api.github.com/users/seemcat/orgs","repos_url":"https://api.github.com/users/seemcat/repos","events_url":"https://api.github.com/users/seemcat/events{/privacy}","received_events_url":"https://api.github.com/users/seemcat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seemcat/algorithms","description":"algorithm problem practice","fork":true,"url":"https://api.github.com/repos/seemcat/algorithms","forks_url":"https://api.github.com/repos/seemcat/algorithms/forks","keys_url":"https://api.github.com/repos/seemcat/algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seemcat/algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seemcat/algorithms/teams","hooks_url":"https://api.github.com/repos/seemcat/algorithms/hooks","issue_events_url":"https://api.github.com/repos/seemcat/algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/seemcat/algorithms/events","assignees_url":"https://api.github.com/repos/seemcat/algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/seemcat/algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/seemcat/algorithms/tags","blobs_url":"https://api.github.com/repos/seemcat/algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seemcat/algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seemcat/algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/seemcat/algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seemcat/algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/seemcat/algorithms/languages","stargazers_url":"https://api.github.com/repos/seemcat/algorithms/stargazers","contributors_url":"https://api.github.com/repos/seemcat/algorithms/contributors","subscribers_url":"https://api.github.com/repos/seemcat/algorithms/subscribers","subscription_url":"https://api.github.com/repos/seemcat/algorithms/subscription","commits_url":"https://api.github.com/repos/seemcat/algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/seemcat/algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/seemcat/algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/seemcat/algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/seemcat/algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/seemcat/algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seemcat/algorithms/merges","archive_url":"https://api.github.com/repos/seemcat/algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seemcat/algorithms/downloads","issues_url":"https://api.github.com/repos/seemcat/algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/seemcat/algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/seemcat/algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/seemcat/algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seemcat/algorithms/labels{/name}","releases_url":"https://api.github.com/repos/seemcat/algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/seemcat/algorithms/deployments","created_at":"2017-04-14T19:39:37Z","updated_at":"2017-04-14T19:39:38Z","pushed_at":"2017-06-15T18:58:40Z","git_url":"git://github.com/seemcat/algorithms.git","ssh_url":"git@github.com:seemcat/algorithms.git","clone_url":"https://github.com/seemcat/algorithms.git","svn_url":"https://github.com/seemcat/algorithms","homepage":null,"size":81,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"llipio:master","ref":"master","sha":"8c2970f2c39aeaf8c2d58bca5497a5a46b9bcc18","user":{"login":"llipio","id":26666892,"avatar_url":"https://avatars2.githubusercontent.com/u/26666892?v=3","gravatar_id":"","url":"https://api.github.com/users/llipio","html_url":"https://github.com/llipio","followers_url":"https://api.github.com/users/llipio/followers","following_url":"https://api.github.com/users/llipio/following{/other_user}","gists_url":"https://api.github.com/users/llipio/gists{/gist_id}","starred_url":"https://api.github.com/users/llipio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llipio/subscriptions","organizations_url":"https://api.github.com/users/llipio/orgs","repos_url":"https://api.github.com/users/llipio/repos","events_url":"https://api.github.com/users/llipio/events{/privacy}","received_events_url":"https://api.github.com/users/llipio/received_events","type":"Organization","site_admin":false},"repo":{"id":88201997,"name":"algorithms","full_name":"llipio/algorithms","owner":{"login":"llipio","id":26666892,"avatar_url":"https://avatars2.githubusercontent.com/u/26666892?v=3","gravatar_id":"","url":"https://api.github.com/users/llipio","html_url":"https://github.com/llipio","followers_url":"https://api.github.com/users/llipio/followers","following_url":"https://api.github.com/users/llipio/following{/other_user}","gists_url":"https://api.github.com/users/llipio/gists{/gist_id}","starred_url":"https://api.github.com/users/llipio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llipio/subscriptions","organizations_url":"https://api.github.com/users/llipio/orgs","repos_url":"https://api.github.com/users/llipio/repos","events_url":"https://api.github.com/users/llipio/events{/privacy}","received_events_url":"https://api.github.com/users/llipio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/llipio/algorithms","description":"algorithm problem practice","fork":false,"url":"https://api.github.com/repos/llipio/algorithms","forks_url":"https://api.github.com/repos/llipio/algorithms/forks","keys_url":"https://api.github.com/repos/llipio/algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llipio/algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llipio/algorithms/teams","hooks_url":"https://api.github.com/repos/llipio/algorithms/hooks","issue_events_url":"https://api.github.com/repos/llipio/algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/llipio/algorithms/events","assignees_url":"https://api.github.com/repos/llipio/algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/llipio/algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/llipio/algorithms/tags","blobs_url":"https://api.github.com/repos/llipio/algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llipio/algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llipio/algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/llipio/algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llipio/algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/llipio/algorithms/languages","stargazers_url":"https://api.github.com/repos/llipio/algorithms/stargazers","contributors_url":"https://api.github.com/repos/llipio/algorithms/contributors","subscribers_url":"https://api.github.com/repos/llipio/algorithms/subscribers","subscription_url":"https://api.github.com/repos/llipio/algorithms/subscription","commits_url":"https://api.github.com/repos/llipio/algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/llipio/algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/llipio/algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/llipio/algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/llipio/algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/llipio/algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llipio/algorithms/merges","archive_url":"https://api.github.com/repos/llipio/algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llipio/algorithms/downloads","issues_url":"https://api.github.com/repos/llipio/algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/llipio/algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/llipio/algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/llipio/algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llipio/algorithms/labels{/name}","releases_url":"https://api.github.com/repos/llipio/algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/llipio/algorithms/deployments","created_at":"2017-04-13T20:04:48Z","updated_at":"2017-06-09T15:15:45Z","pushed_at":"2017-06-15T18:58:41Z","git_url":"git://github.com/llipio/algorithms.git","ssh_url":"git@github.com:llipio/algorithms.git","clone_url":"https://github.com/llipio/algorithms.git","svn_url":"https://github.com/llipio/algorithms","homepage":null,"size":72,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":36,"forks":23,"open_issues":36,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/llipio/algorithms/pulls/99"},"html":{"href":"https://github.com/llipio/algorithms/pull/99"},"issue":{"href":"https://api.github.com/repos/llipio/algorithms/issues/99"},"comments":{"href":"https://api.github.com/repos/llipio/algorithms/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/llipio/algorithms/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/llipio/algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/llipio/algorithms/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/llipio/algorithms/statuses/f5a0be489920e286e9812dc98c4198d085debb58"}}}}
{"actor":{"display_login":"seemcat"}}