employer cover photo
employer logo
employer logo

Dealertrack by Cox Automotive

Engaged employer

Dealertrack by Cox Automotive interview question

If you have an integer array with duplicate values, how will you remove the duplicates.

Interview Answer

Anonymous

15 Feb 2016

int[] s = { 1, 2, 3, 3, 4}; int[] q = s.Distinct().ToArray();