数组 [2, 7, 11, 15],target = 9

数组:

seen 字典:

点击"开始演示"查看两数之和的查找过程