feat(patterns): pattern taxonomy + is_optimal

This commit is contained in:
2025-09-08 16:03:14 +01:00
parent 5b768f6a21
commit 13bab63618
28 changed files with 1434 additions and 26 deletions

View File

@@ -1,6 +1,8 @@
name: Prefix Sum
slug: prefix-sum
difficulty_level: 2
pattern_type: technique
display_order: 5
description: >
Precompute cumulative sums to answer range sum queries in O(1) time. This