Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- leetcode
- 맥북
- 캐치카페
- 파이썬
- AI 경진대회
- 우분투
- Kaggle
- 편스토랑
- SW Expert Academy
- Docker
- 더현대서울 맛집
- programmers
- 프로그래머스
- gs25
- 편스토랑 우승상품
- github
- 프로그래머스 파이썬
- ChatGPT
- hackerrank
- 자연어처리
- dacon
- 데이콘
- Git
- ubuntu
- Real or Not? NLP with Disaster Tweets
- 코로나19
- 백준
- 금융문자분석경진대회
- Baekjoon
Archives
- Today
- Total
목록
반응형
1636. Sort Array by Increasing Frequency (1)
반응형
솜씨좋은장씨
[leetCode] 1636. Sort Array by Increasing Frequency (Python)
Given an array of integers nums, sort the array in increasing order based on the frequency of the values. If multiple values have the same frequency, sort them in decreasing order. Return the sorted array. Example 1: Input: nums = [1,1,2,2,2,3] Output: [3,1,1,2,2,2] Explanation: '3' has a frequency of 1, '1' has a frequency of 2, and '2' has a frequency of 3. Example 2: Input: nums = [2,3,1,3,2]..
Programming/코딩 1일 1문제
2021. 1. 23. 15:26
반응형