2610. Convert an Array Into a 2D Array With Conditions - Solutions and Explanation | Vultr Docs