c++ || Easy
\nclass OrderedStream {\npublic:\n\n\t// Keep track how many values we have returned alredy.\n    int startIndex = 0;\n    vector<string> val;\n    \n    Ordere
```\nclass OrderedStream {\npublic:\n\n\t// Keep track how many values we have returned alredy.\n    int startIndex = 0;\n    vector<string> val;\n    \n    OrderedStream(int n) {\n        val.resize(n+1,"");\n    }\n    \n    vector<string> insert(int idKey, string value) {\n        vector<string> ans;\n        val[idKey - 1] = value;\n        \n\t\t// Push values to answer vector until value is not NULL or EMPTY\n        while(val[startIndex] != ""){\n            ans.push_back(val[startIndex]);\n            startIndex++;\n        }\n        \n        return ans;\n    }\n};\n\n```
['C']