Community Problem

Expression Add Operators

Difficulty: Hard

Insert +, -, * between digits of a string so the resulting expression equals a target, using backtracking that handles operator precedence in O(1) per step.

Expression Add Operators

Insert +, -, * between digits of a string so the resulting expression equals a target, using backtracking that handles operator precedence in O(1) per step.

HARD
$9.99
backtracking
strings
math
recursion
jamesmurphy

By @jamesmurphy

January 15, 2026

·

Updated May 18, 2026

516 views

13

4.3 (13)

Problem statement is locked. Purchase this item to view the full content.

Solution

Starter code, test cases, and solutions are locked.

Purchase this item to access the full workspace.

All Problems