my solutions for the 3 problems

I've used C/C++ for all problems plus a JavaScript solution for the one
with the duplicates.
We need to update the statement for problem 3, it must be more clear that we only mean numbers in the array.