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
- github
- gs25
- 편스토랑
- 자연어처리
- ChatGPT
- 금융문자분석경진대회
- programmers
- 편스토랑 우승상품
- 백준
- dacon
- PYTHON
- Real or Not? NLP with Disaster Tweets
- 맥북
- SW Expert Academy
- Baekjoon
- 파이썬
- 데이콘
- Kaggle
- Docker
- 캐치카페
- 코로나19
- 프로그래머스 파이썬
- Git
- 우분투
- leetcode
- 프로그래머스
- ubuntu
- 더현대서울 맛집
- hackerrank
- AI 경진대회
- Today
- 1
- Total
- 2,398,405
목록
반응형
1636. Sort Array by Increasing Frequency (1)
반응형
솜씨좋은장씨

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
반응형