1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 82,
"dislikes": 12,
"likes": 87,
"dislikes": 16,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Search in a Sorted Array of Unknown Size\", \"titleSlug\": \"search-in-a-sorted-array-of-unknown-size\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "[7,7,7,7,10,7,7,7]\n[6,6,12]",
@@ -40,7 +40,7 @@
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"4K\", \"totalSubmission\": \"7.9K\", \"totalAcceptedRaw\": 4048, \"totalSubmissionRaw\": 7935, \"acRate\": \"51.0%\"}",
"stats": "{\"totalAccepted\": \"4.2K\", \"totalSubmission\": \"8.3K\", \"totalAcceptedRaw\": 4217, \"totalSubmissionRaw\": 8321, \"acRate\": \"50.7%\"}",
"hints": [
"Do a binary search over the array, exclude the half of the array that doesn't contain the largest number.",
"Keep shrinking the search space till it reaches the size of 2 where you can easily determine which one has the largest integer."