Amazon interview question

Program to to find the maximum repeated element in an array

Interview Answer

Anonymous

25 July 2021

function findMaxiumRepeatedElement(arr) { var count= {}; for(i=0;i count[b] - count[a] )[0] }