51. Position + Color Struct

Medium

Create a structured array of size 10 representing a position (x, y) and a color (r, g, b). Return a tuple (length, num_fields) where num_fields is the total number of leaf fields (should be 5).

Implement solve(...)