mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
<p><em>Return the restaurant's “<strong>display table</strong>”</em>. The “<strong>display table</strong>” is a table whose row entries denote how many of each food item each table ordered. The first column is the table number and the remaining columns correspond to each food item in alphabetical order. The first row should be a header whose first column is “Table”, followed by the names of the food items. Note that the customer names are not part of the table. Additionally, the rows should be sorted in numerically increasing order.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> </p>
|
||||
@@ -19,7 +19,7 @@ For the table 5: Carla orders "Water" and "Ceviche".
|
||||
<strong>Output:</strong> [["Table","Beef Burrito","Ceviche","Fried Chicken","Water"],["3","0","2","1","0"],["5","0","1","0","1"],["10","1","0","0","0"]]
|
||||
|
||||
<strong>Explanation:
|
||||
|
||||
|
||||
</strong>The displaying table looks like:
|
||||
|
||||
<strong>Table,Beef Burrito,Ceviche,Fried Chicken,Water</strong>
|
||||
@@ -29,7 +29,7 @@ For the table 1: Adam and Brianna order "Canadian Waffles".
|
||||
5 ,0 ,1 ,0 ,1
|
||||
|
||||
10 ,1 ,0 ,0 ,0
|
||||
|
||||
|
||||
For the table 3: David orders "Ceviche" and "Fried Chicken", and Rous orders "Ceviche".
|
||||
|
||||
For the table 5: Carla orders "Water" and "Ceviche".
|
||||
|
Reference in New Issue
Block a user