{"action":"closed","issue":{"url":"https://api.github.com/repos/mengli/leetcode/issues/3","labels_url":"https://api.github.com/repos/mengli/leetcode/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mengli/leetcode/issues/3/comments","events_url":"https://api.github.com/repos/mengli/leetcode/issues/3/events","html_url":"https://github.com/mengli/leetcode/issues/3","id":28845180,"number":3,"title":"What about the y intercept?","user":{"login":"LarryBattle","id":288263,"avatar_url":"https://avatars.githubusercontent.com/u/288263?v=3","gravatar_id":"","url":"https://api.github.com/users/LarryBattle","html_url":"https://github.com/LarryBattle","followers_url":"https://api.github.com/users/LarryBattle/followers","following_url":"https://api.github.com/users/LarryBattle/following{/other_user}","gists_url":"https://api.github.com/users/LarryBattle/gists{/gist_id}","starred_url":"https://api.github.com/users/LarryBattle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarryBattle/subscriptions","organizations_url":"https://api.github.com/users/LarryBattle/orgs","repos_url":"https://api.github.com/users/LarryBattle/repos","events_url":"https://api.github.com/users/LarryBattle/events{/privacy}","received_events_url":"https://api.github.com/users/LarryBattle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-03-06T02:27:26Z","updated_at":"2015-05-24T09:32:45Z","closed_at":"2015-05-24T09:32:45Z","body":"I enjoyed reading your code for MaxPointsOnALine.java\r\nURL:\r\nhttps://github.com/mengli/leetcode/blob/master/MaxPointsOnALine.java#L30\r\n\r\nAfter reviewing your code, it seems that it's only comparing the slope value and not including calculation for the x or y intercepts. However, shouldn't you include that in your comparisons since two different lines can have the same slope but different x or y intercepts.\r\n\r\n\r\n\r\n"}}