Write a function to print unique rows of a matrix.
I am thinking of a 0(n) solution for this (if possible).
I am storing the rows of the matrix in a set of vectors and then printing those rows. Please tell me how to do this and the correct time complexity for that. I am not very good with STL.
Posted by dynmoz007 on July 13, 2015
by via CareerCup RSS Feed
No comments:
Post a Comment