If it works, is it right?

Learning Challenge

Boolean Algebra and Digital Logic Project 1

Question

When doing the k-maps with 4 variables, I am getting a different expression due to different regrouping. As long as my expression works it would be considered right, right? Or do I need to have the same expression as the one listed? If so how do I know what way they will group?

What I’ve tried

For the screenshot provided I got F = x+ y’+ yz by grouping the last row together, then grouping the first two columns, and then grouping the last column.

But the solution they give is F = y’ + z + x and they got it by grouping the first two columns, then grouping the middle columns, and grouping the last row.

Would my answer be wrong or are they both right?

Screenshots