Kaiser Permanente interview question

Leetcode two sum like coding question