Intercom Interview Question

flood fill, flatten an array, find customers within 100k