docs: standardize accordion components in problem hints

This commit is contained in:
Prad Nukala committed 2026-07-14 11:10:30 -04:00
1 parent 3e4c8c7065
commit d322faa3a8
5 files changed
+30 -30

No files matched your search

+6 -6
View File
@@ -13,17 +13,17 @@ description: How Many Numbers Are Smaller Than the Current Number
## Hints
<Accordions type="single">
<Accordion title="Constraints">
<Accordion type="single">
<AccordionItem title="Constraints">
Constraints:
• `2 <= nums.length <= 500`
• `0 <= nums[i] <= 100`
</Accordion>
<Accordion title="Problem Statement">
</AccordionItem>
<AccordionItem title="Problem Statement">
Given the array nums, for each `nums[i]` find out how many numbers in the array are smaller than it.
That is, for each `nums[i]` you have to count the number of valid `j`'s such that `j != i` and `nums[j] < nums[i]`.
</Accordion>
</Accordions>
</AccordionItem>
</Accordion>
## Solution