Write code to count frequency of elements in an array - ["a", "b", "a", "c", "c", "d"] · InterviewLane