Available question text
Group orders by table and food item to count how many of each dish each table ordered, while collecting all distinct food names sorted alphabetically. Output a header ["Table", ...foods...] and rows for each table (sorted numerically) containing the counts for each food.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1418. Display Table of Food Orders in a Restaurant
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source