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