- 1
Create an algorithm for removing duplicated elements in a 1 dimentional vector
Solve either by block scheme, C language or pseudocode
2 Respostas
+ 2
Sort the vector
After sorting,
For i of vector :
If vector[i] ^vector[i+1] == 0 then duplicate
Else not duplicate
0
Thx