Question: Write an algorithm that takes as input an array, and returns the array with all the duplicate elements removed. For example, if the input array

Write an algorithm that takes as input an array, and returns the array with all the duplicate elements removed. For example, if the input array is {1, 3, 3, 2, 4, 2, 5, 5}, the algorithm returns {1, 3, 2, 4, 5)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
