mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Medium",
|
||||
"likes": 304,
|
||||
"likes": 310,
|
||||
"dislikes": 13,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Clone Graph\", \"titleSlug\": \"clone-graph\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Copy List with Random Pointer\", \"titleSlug\": \"copy-list-with-random-pointer\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Clone Binary Tree With Random Pointer\", \"titleSlug\": \"clone-binary-tree-with-random-pointer\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
@@ -46,7 +46,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"20.5K\", \"totalSubmission\": \"24.4K\", \"totalAcceptedRaw\": 20469, \"totalSubmissionRaw\": 24430, \"acRate\": \"83.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"20.9K\", \"totalSubmission\": \"25K\", \"totalAcceptedRaw\": 20950, \"totalSubmissionRaw\": 25003, \"acRate\": \"83.8%\"}",
|
||||
"hints": [
|
||||
"Traverse the tree, keep a hashtable with you and create a clone node for each node in the tree.",
|
||||
"Start traversing the original tree again and connect each child pointer in the cloned tree the same way as the original tree with the help of the hashtable."
|
||||
|
Reference in New Issue
Block a user