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 |
Tags
- 코로나19
- Real or Not? NLP with Disaster Tweets
- 자연어처리
- 프로그래머스
- 편스토랑
- dacon
- SW Expert Academy
- github
- leetcode
- 데이콘
- Kaggle
- Baekjoon
- Git
- ChatGPT
- gs25
- 우분투
- 편스토랑 우승상품
- 파이썬
- ubuntu
- 맥북
- PYTHON
- 금융문자분석경진대회
- hackerrank
- Docker
- programmers
- 백준
- 캐치카페
- 더현대서울 맛집
- AI 경진대회
- 프로그래머스 파이썬
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
반응형