File tree Expand file tree Collapse file tree 2 files changed +40
-8
lines changed
leetcode/divide-and-conquer Expand file tree Collapse file tree 2 files changed +40
-8
lines changed Original file line number Diff line number Diff line change 11# README
22
3- * To clone with username
4- * git clone [ https://username@github.com/username/repository.git ] ( https://username@github.com/username/repository.git )
5- * To clone with username and password
6- * git clone [ https://username:password@github.com/username/repository.git ] ( https://username:password@github.com/username/repository.git )
7- * To clone my repo
8- * git clone [ https://github.com/just4once/leetcode.git ] ( https://github.com/just4once/leetcode.git )
9- * Next
3+ ## Getting Super Powers
4+
5+ To clone the repo
6+
7+ ```
8+ git clone https://github.com/just4once/leetcode.git
9+ ```
10+
11+ {% hint style="success" %}
12+ Success.
13+ {% endhint %}
14+
15+ To clone the repo with username
16+
17+ ```
18+ git clone https://username@github.com/username/repository.git
19+ ```
20+
21+ To clone the repo with username and password
22+
23+ ```
24+ git clone https://username:password@github.com/username/repository.git
25+ ```
1026
Original file line number Diff line number Diff line change 44
55[ https://leetcode.com/problems/majority-element/description/ ] ( https://leetcode.com/problems/majority-element/description/ )
66
7- asd
7+ Given an array of size n, find the majority element. The majority element is the element that appears ** more than** ` ⌊ n/2 ⌋ ` times.
8+
9+ You may assume that the array is non-empty and the majority element always exist in the array.
10+
11+ ** Example 1:**
12+
13+ ``` text
14+ Input: [3,2,3]
15+ Output: 3
16+ ```
17+
18+ ** Example 2:**
19+
20+ ``` text
21+ Input: [2,2,1,1,1,2,2]
22+ Output: 2
23+ ```
824
925## Thought Process {#thought-process}
1026
You can’t perform that action at this time.
0 commit comments