{"action":"created","issue":{"url":"https://api.github.com/repos/congr/world/issues/225","repository_url":"https://api.github.com/repos/congr/world","labels_url":"https://api.github.com/repos/congr/world/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/congr/world/issues/225/comments","events_url":"https://api.github.com/repos/congr/world/issues/225/events","html_url":"https://github.com/congr/world/issues/225","id":328868820,"node_id":"MDU6SXNzdWUzMjg4Njg4MjA=","number":225,"title":"InterviewBit : Remove Duplicates from Sorted List","user":{"login":"congr","id":9853714,"node_id":"MDQ6VXNlcjk4NTM3MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9853714?v=4","gravatar_id":"","url":"https://api.github.com/users/congr","html_url":"https://github.com/congr","followers_url":"https://api.github.com/users/congr/followers","following_url":"https://api.github.com/users/congr/following{/other_user}","gists_url":"https://api.github.com/users/congr/gists{/gist_id}","starred_url":"https://api.github.com/users/congr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/congr/subscriptions","organizations_url":"https://api.github.com/users/congr/orgs","repos_url":"https://api.github.com/users/congr/repos","events_url":"https://api.github.com/users/congr/events{/privacy}","received_events_url":"https://api.github.com/users/congr/received_events","type":"User","site_admin":false},"labels":[{"id":784394767,"node_id":"MDU6TGFiZWw3ODQzOTQ3Njc=","url":"https://api.github.com/repos/congr/world/labels/-InterviewBIt","name":"-InterviewBIt","color":"cceeff","default":false},{"id":911847477,"node_id":"MDU6TGFiZWw5MTE4NDc0Nzc=","url":"https://api.github.com/repos/congr/world/labels/LinkedList","name":"LinkedList","color":"d073f4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-03T22:39:59Z","updated_at":"2018-06-03T22:48:14Z","closed_at":null,"author_association":"OWNER","body":"https://www.interviewbit.com/problems/remove-duplicates-from-sorted-list/\r\n\r\n![image](https://user-images.githubusercontent.com/9853714/40891953-76d9ff48-67ca-11e8-9dde-f963cb1a1410.png)\r\n"},"comment":{"url":"https://api.github.com/repos/congr/world/issues/comments/394197922","html_url":"https://github.com/congr/world/issues/225#issuecomment-394197922","issue_url":"https://api.github.com/repos/congr/world/issues/225","id":394197922,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDE5NzkyMg==","user":{"login":"congr","id":9853714,"node_id":"MDQ6VXNlcjk4NTM3MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9853714?v=4","gravatar_id":"","url":"https://api.github.com/users/congr","html_url":"https://github.com/congr","followers_url":"https://api.github.com/users/congr/followers","following_url":"https://api.github.com/users/congr/following{/other_user}","gists_url":"https://api.github.com/users/congr/gists{/gist_id}","starred_url":"https://api.github.com/users/congr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/congr/subscriptions","organizations_url":"https://api.github.com/users/congr/orgs","repos_url":"https://api.github.com/users/congr/repos","events_url":"https://api.github.com/users/congr/events{/privacy}","received_events_url":"https://api.github.com/users/congr/received_events","type":"User","site_admin":false},"created_at":"2018-06-03T22:48:14Z","updated_at":"2018-06-03T22:48:14Z","author_association":"OWNER","body":"InterviewBit accepted\r\n\r\n```\r\npublic class Solution {\r\n    public ListNode deleteDuplicates(ListNode A) {\r\n        if (A == null || A.next == null) return A; // !!!\r\n        \r\n        ListNode head = new ListNode(0);\r\n        head.next = A;\r\n        \r\n        ListNode pre = head, cur = head.next;\r\n        while (cur != null) {\r\n            if (pre.val == cur.val) pre.next = cur.next;\r\n            else pre = cur;\r\n            cur = cur.next;    \r\n        }\r\n        \r\n        return head.next;\r\n    }\r\n}\r\n```"}}
{"actor":{"display_login":"congr"}}