employer cover photo
employer logo
employer logo

Vaken Technologies

Is this your company?

Vaken Technologies interview question

Write a code to remove a duplicate from the given array

Interview Answers

Anonymous

Aug 17, 2024

any other question related to coding and aptitude

Anonymous

Dec 4, 2024

def remove_duplicates(arr): return list(set(arr)) arr = [1, 2, 2, 3, 4, 4, 5] print("Original Array:", arr) arr = remove_duplicates(arr) print("Array After Removing Duplicates:", arr)