mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Hard",
|
||||
"likes": 1018,
|
||||
"dislikes": 33,
|
||||
"likes": 1041,
|
||||
"dislikes": 34,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Binary Tree Inorder Traversal\", \"titleSlug\": \"binary-tree-inorder-traversal\", \"difficulty\": \"Easy\", \"translatedTitle\": null}, {\"title\": \"Closest Binary Search Tree Value\", \"titleSlug\": \"closest-binary-search-tree-value\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "[4,2,5,1,3]\n3.714286\n2\n[1]\n0.000000\n1",
|
||||
@@ -64,7 +64,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"93.3K\", \"totalSubmission\": \"165K\", \"totalAcceptedRaw\": 93345, \"totalSubmissionRaw\": 165037, \"acRate\": \"56.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"95.8K\", \"totalSubmission\": \"168.3K\", \"totalAcceptedRaw\": 95751, \"totalSubmissionRaw\": 168330, \"acRate\": \"56.9%\"}",
|
||||
"hints": [
|
||||
"Consider implement these two helper functions:\r\n<ol type=\"i\"><li><code>getPredecessor(N)</code>, which returns the next smaller node to N.</li>\r\n<li><code>getSuccessor(N)</code>, which returns the next larger node to N.</li>\r\n</ol>",
|
||||
"Try to assume that each node has a parent pointer, it makes the problem much easier.",
|
||||
|
Reference in New Issue
Block a user