Q: Take in an unsorted array with duplicates and return it with no duplicates
Sigiloso
I initially chose SQL as my programming language (prior to knowing the question) and then he told me it would be too easy with SQL, so when I picked Java, he let me sort the array to make the problem easier. After that, I simply compared Array[i+1] with Array[i] and if they were similar, I would delete that element