7eleven interview question

Fish tackle problem Basic two pointers problem