0

How to delete duplicate elements in an array

please explain the logic

31st Oct 2017, 12:56 PM
karthik rao K.C
karthik rao K.C - avatar
7 Réponses
- 1
yeah I know what array means ,tell me how to delete duplicate elements in array if you don't know the answer just leave it,ms luka
31st Oct 2017, 5:46 PM
karthik rao K.C
karthik rao K.C - avatar
+ 6
for each element in old array, if it isn't already in new array, add it to the new array. luka does know the answer and doesn't deserve your disrespect. It isn't our job to write your program. We offer advice out of the goodness of our heart. Treat any of us with disrespect and nobody will help you.
31st Oct 2017, 6:57 PM
John Wells
John Wells - avatar
+ 1
It depends on how you define the array and what results you're looking for.
31st Oct 2017, 2:01 PM
John Wells
John Wells - avatar
+ 1
thanks for your advice
31st Oct 2017, 6:59 PM
karthik rao K.C
karthik rao K.C - avatar
- 1
I didnt ask for your help ms luka
31st Oct 2017, 6:43 PM
karthik rao K.C
karthik rao K.C - avatar