Generate a Bingo Card
Write a function that generates a Bingo card: a random 3x9 matrix, default value 0 (empty).
Constraints:
- Each row has exactly 5 filled cells; the other 4 are 0.
- Each column has at least 1 non-z...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
