{"id":"solution-class-vs-standalone-function","text":"Solutions use two module patterns inconsistently: some define a standalone function (e.g., `max_product`, `max_score_after_splitting`), while others wrap the function in a `Solution` class following LeetCode's submission convention (e.g., `maximum-value-of-a-string-in-an-array`).","truth_value":"IN","source":"entries/2026/06/06/maximum-value-of-a-string-in-an-array-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":["isolation-enables-style-drift"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"solution-class-vs-standalone-function","truth_value":"IN","reason":"premise"}]}}