+ 1

How to make a code of deleting double elements in array of integers?

can someone help me how to make a code in C or java about deleting double elements in array of integers! and thnx 😊

27th Oct 2018, 2:33 PM
Wissam Bouattou
Wissam Bouattou - avatar
3 Respuestas
+ 2
You mean you want to create an array with unique values without repeating numbers
27th Oct 2018, 4:21 PM
Seniru
Seniru - avatar
+ 2
Can you use distinct ? It is a method that returns an array with the unique elements that are found in the source array. https://www.dotnetperls.com/distinct https://code.sololearn.com/cWLL24D38iTH
27th Oct 2018, 7:50 PM
sneeze
sneeze - avatar
0
Seniru Pasan yesss , but the values giving in the first time are repeated i mean the array contain repeated values and i want to delete them
27th Oct 2018, 6:13 PM
Wissam Bouattou
Wissam Bouattou - avatar