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