What method might you use to remove duplicate values from an array?
Answer Posted / Nishant Gupta
"The uniq method in Ruby can be used to remove duplicate values from an array. The uniq method returns a new array with no duplicates, while keeping the original array intact."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers