How can one combine array elements from four different arrays without data repetition creating an ordered list? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can one combine array elements from four different arrays without data repetition creating an ordered list?

JavaScript or C++

25th Jun 2018, 11:01 PM
Petest Sam
Petest Sam - avatar
2 Answers
+ 3
I gave an algorithm in this thread for 2 arrays. It can easily handle 4. https://www.sololearn.com/Discuss/1368522 Same offer of help coding, if you need it.
26th Jun 2018, 12:27 AM
John Wells
John Wells - avatar
+ 2
Here you go, an example of combine 4 arrays and show it on order list. https://code.sololearn.com/Wedb1ifjAlPH/?ref=app
26th Jun 2018, 3:24 AM
Calviղ
Calviղ - avatar