Nones Interview Question

2 pointer approach to search