Phenom Interview Question

top one frequesnt element from a given array