Add analysis to 'two sum'.