Find if two rows in a binary matrix are identical
Filed under Samsung
The question
Given an N x M binary matrix containing 0s and 1s, efficiently check whether any two rows are identical.
No write-up yet. Related questions below have one.
Related Samsung questions
Collected from public candidate posts and coding forums. Updated Nov 2026.