+ 5

🏆🏆 challenge 🏆🏆 i think you understand, After see the Input and Output. what is task?👻

Input : 5 Elements... 12 3 12 5 1 Output 12 3 5 1 0 Another Example Input : 10 Elements... 12 13 8 12 5 13 1 1 2 7 Output 12 13 8 5 1 2 7 0 0 0

14th Nov 2017, 4:13 PM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
5 Answers
19th Nov 2017, 5:55 PM
LukArToDo
LukArToDo - avatar
+ 8
** Remove duplicates from array. Code this, yes?
14th Nov 2017, 4:22 PM
jay
jay - avatar
20th Nov 2017, 3:21 AM
Käzî Mrîdùl Høssäîn
Käzî Mrîdùl Høssäîn - avatar
+ 6
just removing.. in ruby.... just array.uniq! gives the required answer..
15th Nov 2017, 1:16 PM
SAKSHI
SAKSHI - avatar