Microsoft interview question

LeetCode 1449 :Form Largest Integer With Digits That Add up to Target Unique rows in binary matrix