Skip to content

iamdavidmichaelmoore/codepath-warmup-1-majority-element

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

CodePath - Intermediate Technical Interview Prep Course | Summer 2023

Unit 1: UMPIRE, Bit-O, Hash Tables, Stacks and Queues, Heaps

Week 1 Warmup 1: LeetCode 169. Majority Element

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

The majority element is the element that appears more than the floor of n/2 (rounded down) times. You may assume that the majority element always exists in the the array.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages