CareerCup Given a binary matrix of N X N of integers , you need to return only unique rows of binary

来源:互联网 发布:货币网络个人基金产品 编辑:程序博客网 时间:2024/05/29 10:07

Given a binary matrix of N X N of integers , you need to return only unique rows of binary arrays 

eg: 
0 1 0 0 1 
1 0 1 1 0 
0 1 0 0 1 
1 1 1 0 0 
ans: 
0 1 0 0 1 
1 0 1 1 0 
1 1 1 0 0

------------------------------------------------------------------------


TRIE data structure can work fine for this problem!!!



0 0