Check if Duplicates Exist Within K Manhattan Distance in Matrix

mediumLast edited: August 19, 2025