Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 838a153

Browse filesBrowse files
author
Sean Prashad
authored
Add Majority Element question (seanprashad#56)
1 parent 207f1c7 commit 838a153
Copy full SHA for 838a153

File tree

Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed

‎src/data/index.js

Copy file name to clipboardExpand all lines: src/data/index.js
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2035,6 +2035,15 @@ const questions = [
20352035
'Bloomberg',
20362036
],
20372037
},
2038+
{
2039+
id: 173,
2040+
name: 'Majority Element',
2041+
url: 'https://leetcode.com/problems/majority-element/',
2042+
pattern: ['Sorting'],
2043+
difficulty: 'Easy',
2044+
premium: false,
2045+
companies: ['Amazon', 'Google', 'Microsoft', 'Apple'],
2046+
},
20382047
];
20392048

20402049
const sortBy = { Easy: 0, Medium: 1, Hard: 2 };

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.