mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"364.1K\", \"totalSubmission\": \"577.9K\", \"totalAcceptedRaw\": 364145, \"totalSubmissionRaw\": 577870, \"acRate\": \"63.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"364.2K\", \"totalSubmission\": \"577.9K\", \"totalAcceptedRaw\": 364156, \"totalSubmissionRaw\": 577885, \"acRate\": \"63.0%\"}",
|
||||
"hints": [
|
||||
"Do you know how 2d matrix is stored in 1d memory? Try to map 2-dimensions into one.",
|
||||
"M[i][j]=M[n*i+j] , where n is the number of cols. \r\nThis is the one way of converting 2-d indices into one 1-d index. \r\nNow, how will you convert 1-d index into 2-d indices?",
|
||||
|
Reference in New Issue
Block a user