667. Beautiful Arrangement II - Solutions and Explanation | Vultr Docs