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,17 +13,17 @@ description: First Unique Character in a String
|
||||
|
||||
## Hints
|
||||
|
||||
<Accordions type="single">
|
||||
<Accordion title="Constraints">
|
||||
<Accordion type="single">
|
||||
<AccordionItem title="Constraints">
|
||||
Constraints:
|
||||
• `1 <= s.length <= 10^5`
|
||||
• `s` consists of only lowercase English letters.
|
||||
</Accordion>
|
||||
<Accordion title="Problem Statement">
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Problem Statement">
|
||||
Given a string `s`, find the first non-repeating character in it and return its index.
|
||||
If it does not exist, return `-1`.
|
||||
</Accordion>
|
||||
</Accordions>
|
||||
</AccordionItem>
|
||||
</Accordion>
|
||||
|
||||
## Solution
|
||||
|
||||
|
||||
Reference in new issue
Block a user