Sponsored
Use these hints if you're stuck. Try solving on your own first.
What data structure do you need to use for this problem?
Try using a Hash map, each table name will be the key, and the value will be an array of all rows.
Solve with full IDE support and test cases