{"id":"string-concat-over-arithmetic-for-digit-joining","text":"Solutions that need to \"concatenate\" two integers as digits use `int(str(a) + str(b))` rather than `a * 10**len(str(b)) + b` — simpler code at the cost of O(d) string allocation per pair.","truth_value":"IN","source":"entries/2026/06/06/find-the-array-concatenation-value-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"string-concat-over-arithmetic-for-digit-joining","truth_value":"IN","reason":"premise"}]}}