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 |
Tags
- Medium
- sorting
- HashTable
- Binary
- string
- two pointers
- recursive
- leetcode
- 미디움
- 문자열
- DP
- binary search
- matrix
- 중간
- binary tree
- tree
- 리트코드
- dfs
- easy
- list
- 재귀
- math
- backtracking
- 쉬움
- Python
- Array
- linked list
- hash table
- Depth-first Search
- 이진트리
Archives
- Today
- Total
목록counting (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