1182. Shortest Distance to Target Color - Solutions and Explanation | Vultr Docs