CGI Interview Question

1. write a code to find duplicates in an array

Interview Answers

Anonymous

Dec 6, 2015

use bubble sort ,create ur own array of size array.length and increase the size

1

Anonymous

Mar 23, 2016

int[] array = new int[]{2,4,1,6,7,4,9,24,3,2,1}; List arrList = new ArrayList(); Map arrMap = new HashMap(); for(int i=0;i

1