feat(patterns): pattern taxonomy + is_optimal
This commit is contained in:
@@ -39,6 +39,7 @@ export function QuestionCard({ question }: QuestionCardProps) {
|
||||
{question.patterns.map((p) => (
|
||||
<Badge key={p.id} variant="pattern">
|
||||
{p.name}
|
||||
{p.is_optimal && <span className="ml-1 text-green-500">★</span>}
|
||||
</Badge>
|
||||
))}
|
||||
{question.leetcode_id && (
|
||||
|
||||
Reference in New Issue
Block a user