{"action":"created","issue":{"url":"https://api.github.com/repos/SHU-2016-SummerPractice/AlgorithmExerciseIssues/issues/22","repository_url":"https://api.github.com/repos/SHU-2016-SummerPractice/AlgorithmExerciseIssues","labels_url":"https://api.github.com/repos/SHU-2016-SummerPractice/AlgorithmExerciseIssues/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/SHU-2016-SummerPractice/AlgorithmExerciseIssues/issues/22/comments","events_url":"https://api.github.com/repos/SHU-2016-SummerPractice/AlgorithmExerciseIssues/issues/22/events","html_url":"https://github.com/SHU-2016-SummerPractice/AlgorithmExerciseIssues/issues/22","id":168664608,"number":22,"title":"Searching专题 2016-08-03","user":{"login":"wolfogre","id":9418365,"avatar_url":"https://avatars.githubusercontent.com/u/9418365?v=3","gravatar_id":"","url":"https://api.github.com/users/wolfogre","html_url":"https://github.com/wolfogre","followers_url":"https://api.github.com/users/wolfogre/followers","following_url":"https://api.github.com/users/wolfogre/following{/other_user}","gists_url":"https://api.github.com/users/wolfogre/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfogre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfogre/subscriptions","organizations_url":"https://api.github.com/users/wolfogre/orgs","repos_url":"https://api.github.com/users/wolfogre/repos","events_url":"https://api.github.com/users/wolfogre/events{/privacy}","received_events_url":"https://api.github.com/users/wolfogre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-01T14:50:06Z","updated_at":"2016-08-03T12:47:58Z","closed_at":null,"body":"[79 Word Search](https://leetcode.com/problems/word-search/)\r\n\r\n[74 Search a 2D Matrix](https://leetcode.com/problems/search-a-2d-matrix/)"},"comment":{"url":"https://api.github.com/repos/SHU-2016-SummerPractice/AlgorithmExerciseIssues/issues/comments/237227442","html_url":"https://github.com/SHU-2016-SummerPractice/AlgorithmExerciseIssues/issues/22#issuecomment-237227442","issue_url":"https://api.github.com/repos/SHU-2016-SummerPractice/AlgorithmExerciseIssues/issues/22","id":237227442,"user":{"login":"SnackMen","id":16161448,"avatar_url":"https://avatars.githubusercontent.com/u/16161448?v=3","gravatar_id":"","url":"https://api.github.com/users/SnackMen","html_url":"https://github.com/SnackMen","followers_url":"https://api.github.com/users/SnackMen/followers","following_url":"https://api.github.com/users/SnackMen/following{/other_user}","gists_url":"https://api.github.com/users/SnackMen/gists{/gist_id}","starred_url":"https://api.github.com/users/SnackMen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SnackMen/subscriptions","organizations_url":"https://api.github.com/users/SnackMen/orgs","repos_url":"https://api.github.com/users/SnackMen/repos","events_url":"https://api.github.com/users/SnackMen/events{/privacy}","received_events_url":"https://api.github.com/users/SnackMen/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T12:47:58Z","updated_at":"2016-08-03T12:47:58Z","body":"```java\r\n/*\r\n*[AC] LeetCode 74 Search a 2D Matrix\r\n*/\r\npublic class Solution {\r\n    public boolean searchMatrix(int[][] matrix, int target) {\r\n        if(matrix==null)\r\n            return false;\r\n        int row=0;\r\n        int cell=matrix[0].length-1;\r\n        while(row<matrix.length && cell>=0){\r\n            if(matrix[row][cell]==target)\r\n                return true;\r\n            if(matrix[row][cell]>target){\r\n                cell--;\r\n            }else{\r\n                row++;\r\n            }\r\n                \r\n        }\r\n        return false;\r\n    }\r\n}"}}
{"actor":{"display_login":"SnackMen"}}