We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d44461 commit 448415cCopy full SHA for 448415c
Data-Structures/Array/MooreVotingAlgorithm.js
@@ -30,4 +30,5 @@ const MooreVotingAlgorithm = (arr) => {
30
}
31
32
return count > arr.length / 2 ? candidate : null;
33
- };
+ };
34
+ export { MooreVotingAlgorithm };
0 commit comments