takeUforward
Find the highest/lowest frequency element - Tutorial