mirror of
https://github.com/prdlk/leetcode.git
synced 2026-11-03 05:27:36 +00:00
docs: standardize accordion components in problem hints
This commit is contained in:
1 parent
3e4c8c7065
commit
d322faa3a8
5 files changed
+30
-30
No files matched your search
@@ -13,18 +13,18 @@ description: Sort Characters By Frequency
|
||||
|
||||
## Hints
|
||||
|
||||
<Accordions type="single">
|
||||
<Accordion title="Constraints">
|
||||
<Accordion type="single">
|
||||
<AccordionItem title="Constraints">
|
||||
Constraints:
|
||||
• `1 <= s.length <= 5 * 10^5`
|
||||
• `s` consists of uppercase and lowercase English letters and digits.
|
||||
</Accordion>
|
||||
<Accordion title="Problem Statement">
|
||||
</AccordionItem >
|
||||
<AccordionItem title="Problem Statement">
|
||||
Given a string `s`, sort it in decreasing order based on the frequency of the characters.
|
||||
The frequency of a character is the number of times it appears in the string.
|
||||
Return the sorted string. If there are multiple answers, return any of them.
|
||||
</Accordion>
|
||||
</Accordions>
|
||||
</AccordionItem >
|
||||
</Accordion>
|
||||
|
||||
## Solution
|
||||
|
||||
|
||||
Reference in new issue
Block a user