Shopee Interview Question

Find the most common element in an array