mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"35.6K\", \"totalSubmission\": \"43.4K\", \"totalAcceptedRaw\": 35575, \"totalSubmissionRaw\": 43431, \"acRate\": \"81.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"35.6K\", \"totalSubmission\": \"43.4K\", \"totalAcceptedRaw\": 35578, \"totalSubmissionRaw\": 43435, \"acRate\": \"81.9%\"}",
|
||||
"hints": [
|
||||
"For every rod, look through ‘rings’ to see if the rod contains all colors.",
|
||||
"Create 3 booleans, 1 for each color, to store if that color is present for the current rod. If all 3 are true after looking through the string, then the rod contains all the colors."
|
||||
|
Reference in New Issue
Block a user