threeal / leetspace

A dedicated workspace and archive for my LeetCode submissions
https://leetcode.com/threeal
MIT License
1 stars 1 forks source link

Solve Problem 1605. Find Valid Matrix Given Row and Column Sums #1369

Closed threeal closed 1 month ago

threeal commented 1 month ago

This pull request resolves #1368 by solving the problem 1605. Find Valid Matrix Given Row and Column Sums in C++. It solves the problem by iteratively placing an element for each row sum and column sum.