{"id":"add-to-array-form-prepend-quadratic-worst-case","text":"When `k` has more digits than `num`, each extra digit triggers an O(n) `list.insert(0, ...)`, making the overflow phase O(d*n) rather than the O(max(n,d)) achievable with append-and-reverse.","truth_value":"IN","source":"entries/2026/06/06/add-to-array-form-of-integer-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"add-to-array-form-prepend-quadratic-worst-case","truth_value":"IN","reason":"premise"}]}}