Find two distinct indices whose values add up to a target. Switch between the sorted two-pointer scan, the one-passhash map lookup, and the exhaustivebrute-force search to compare how each strategy works.