Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 쉬움
- HashTable
- easy
- 재귀
- tree
- 문자열
- two pointers
- recursive
- backtracking
- Depth-first Search
- 중간
- math
- 미디움
- DP
- Python
- matrix
- binary search
- Medium
- 이진트리
- list
- leetcode
- Binary
- hash table
- Array
- linked list
- string
- sorting
- binary tree
- 리트코드
- dfs
Archives
- Today
- Total
목록DivideandConquer (1)
부부의 코딩 성장 일기
LeetCode 169(Majority Element, Python)
1. 문제 링크 https://leetcode.com/problems/majority-element/ Majority Element - LeetCode Can you solve this real interview question? Majority Element - Given an array nums of size n, return the majority element. The majority element is the element that appears more than ⌊n / 2⌋ times. You may assume that the majority element always exists leetcode.com 2. 문제 설명 크기가 n인 배열이 주어졌을 때, majority element를 반환..
Algorithm/LeetCode
2023. 12. 5. 19:00