Majority Element

Try to solve the Majority Element problem.

Statement

Given an array, nums, having nn ...

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.