mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-09 01:11:42 +08:00
update
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"2.4K\", \"totalSubmission\": \"3.9K\", \"totalAcceptedRaw\": 2392, \"totalSubmissionRaw\": 3868, \"acRate\": \"61.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"2.4K\", \"totalSubmission\": \"3.9K\", \"totalAcceptedRaw\": 2394, \"totalSubmissionRaw\": 3870, \"acRate\": \"61.9%\"}",
|
||||
"hints": [
|
||||
"1. (Binary Search) For each row do a binary search to find the leftmost one on that row and update the answer.",
|
||||
"2. (Optimal Approach) Imagine there is a pointer p(x, y) starting from top right corner. p can only move left or down. If the value at p is 0, move down. If the value at p is 1, move left. Try to figure out the correctness and time complexity of this algorithm."
|
||||
|
Reference in New Issue
Block a user