Math, asked by abhishek1008jha, 9 months ago

How to solve algorithm problem in short tricks? ​

Answers

Answered by khairnarsanskriti
1

One solution to this problem consists of two steps. First, sort the array. When an array is sorted, duplicate elements will be next to each other. Second, loop through the array and remove or ignore values that are equal to the previous values

Similar questions