Spectrum-CETB / Spectober_Fest

A repository by Spectrum-CETB for celebrating month long festival of open-source called Hacktoberfest.
MIT License
19 stars 62 forks source link

Majority Element solved using java #99

Closed soumyaranjan-panda closed 1 year ago

soumyaranjan-panda commented 1 year ago

Description

Solved MAJORITY_ELEMENT using java.

Question

Given an array nums of size n, return the majority element.

Checklist: