1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 193,
"dislikes": 335,
"likes": 200,
"dislikes": 340,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "[[\"David\",\"3\",\"Ceviche\"],[\"Corina\",\"10\",\"Beef Burrito\"],[\"David\",\"3\",\"Fried Chicken\"],[\"Carla\",\"5\",\"Water\"],[\"Carla\",\"5\",\"Ceviche\"],[\"Rous\",\"3\",\"Ceviche\"]]\n[[\"James\",\"12\",\"Fried Chicken\"],[\"Ratesh\",\"12\",\"Fried Chicken\"],[\"Amadeus\",\"12\",\"Fried Chicken\"],[\"Adam\",\"1\",\"Canadian Waffles\"],[\"Brianna\",\"1\",\"Canadian Waffles\"]]\n[[\"Laura\",\"2\",\"Bean Burrito\"],[\"Jhon\",\"2\",\"Beef Burrito\"],[\"Melissa\",\"2\",\"Soda\"]]",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"18.4K\", \"totalSubmission\": \"25.5K\", \"totalAcceptedRaw\": 18396, \"totalSubmissionRaw\": 25484, \"acRate\": \"72.2%\"}",
"stats": "{\"totalAccepted\": \"18.7K\", \"totalSubmission\": \"25.9K\", \"totalAcceptedRaw\": 18719, \"totalSubmissionRaw\": 25860, \"acRate\": \"72.4%\"}",
"hints": [
"Keep the frequency of all pairs (tableNumber, foodItem) using a hashmap.",
"Sort rows by tableNumber and columns by foodItem, then process the resulted table."