Skip to content

Commit 5187e7d

Browse files
committed
Runtime: 41 ms (Top 23.63%) | Memory: 19.6 MB (Top 14.15%)
1 parent d357e4a commit 5187e7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/M/Majority Element/Majority Element.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 41 ms (Top 23.63%) | Memory: 19.6 MB (Top 14.15%)
12
class Solution {
23
public:
34
int majorityElement(vector<int>& nums) {
@@ -22,4 +23,4 @@ class Solution {
2223
// Return & print the solution...
2324
return sol;
2425
}
25-
};
26+
};

0 commit comments

Comments
 (0)