Easy C++ solution
\nclass Solution {\npublic:\n    vector<vector<string>> displayTable(vector<vector<string>>& orders) \n    {\n        // \'ans\' will be the final answer\n     
```\nclass Solution {\npublic:\n    vector<vector<string>> displayTable(vector<vector<string>>& orders) \n    {\n        // \'ans\' will be the final answer\n        vector<vector<string>>ans;\n        \n        // In map \'m\' the key is the table no. and value is another map where key food name and the value is it\'s quantity on that table\n        map<int,map<string,int>>m;\n        \n        // \'food\' is for storing unique food names\n        set<string>food;\n        \n        // \'first\' is the first row of our answer\n        vector<string>first;\n        \n        // now iterate over the foods and fill the map as well as set\n        for(int i=0;i<orders.size();i++)\n        {\n            food.insert(orders[i][2]);\n            m[stoi(orders[i][1])][orders[i][2]]++;\n        }\n        \n        first.push_back("Table");\n        for(auto it:food)\n        {\n            first.push_back(it);\n        }\n        \n        // Append the \'first\' row in the answer\n        ans.push_back(first);\n        \n        // Now fill the rest rows\n        for(auto it:m)\n        {\n            // tmp stores the i\'th row\n            vector<string>tmp;\n            \n            // first append the table no.\n            tmp.push_back(to_string(it.first));\n            \n            // then append the food quantity of each food on that table\n            for(auto item:food)\n            {\n                // if a particular food is ordered on that table, append it\'s quantity\n                if(it.second.find(item)!=it.second.end())\n                {\n                    tmp.push_back(to_string(it.second[item]));\n                }\n                \n                // if a particular food is not ordered on that table, append "0"\n                else\n                {\n                    tmp.push_back("0");\n                }\n            }\n            \n            // append the data of the table \n            ans.push_back(tmp);\n        }\n        \n        // finally return the answer\n        return ans;\n    }\n};\n```\n***Please upvote if you have got any help from my code. Thank you.***
['C', 'Ordered Set']