Q1: Find the number of duplicates in an array Arr =[1,2,3,4 ,4,4,5,6,7,8,7,2] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Q1: Find the number of duplicates in an array Arr =[1,2,3,4 ,4,4,5,6,7,8,7,2]

6th Apr 2021, 12:55 PM
Gus
Gus - avatar
3 Answers
+ 4
Calculate length of `list` <Arr> minus length of a `set` object created from `list` <Arr>.
6th Apr 2021, 1:14 PM
Ipang
+ 3
Show your attempt please.
6th Apr 2021, 12:58 PM
The future is now thanks to science
The future is now thanks to science - avatar
0
This is not a question from sololearn....i just need help with it wanna integrate something into my program
7th Apr 2021, 7:16 PM
Gus
Gus - avatar