1mg interview question

How to manage data sources for nested table views?