Design in memory data structure to store the data like excel sheet in rows and columns.
Data is generic (can be int, string, bool..) and has properties like font type, size, bold,italics.
User can add more rows and columns at the end
User can also insert rows and columns in between existing rows/columns.
This was asked in Round 2 of microsoft interview.
Any ideas how to approach this problem ??