1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -167,7 +167,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"242.1K\", \"totalSubmission\": \"1.1M\", \"totalAcceptedRaw\": 242091, \"totalSubmissionRaw\": 1074726, \"acRate\": \"22.5%\"}",
"stats": "{\"totalAccepted\": \"242.1K\", \"totalSubmission\": \"1.1M\", \"totalAcceptedRaw\": 242111, \"totalSubmissionRaw\": 1074791, \"acRate\": \"22.5%\"}",
"hints": [
"Time complexity O(n logk) - This will give an indication that sorting is involved for k elements.",
"Use already existing state to evaluate next state - Like, a set of k sorted numbers are only needed to be tracked. When we are processing the next number in array, then we can utilize the existing sorted state and it is not necessary to sort next overlapping set of k numbers again."