MCPcopy Create free account
hub / github.com/aylei/leetcode-rust / Solution

Class Solution

src/solution/s0282_expression_add_operators.rs:40–40  ·  view source on GitHub ↗

* [282] Expression Add Operators * * Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the digits so they evaluate to the target value. * * Example 1: * * * Input: num = "123", target = 6 * Output: ["1+2+3", "1*2*3"] * * * Example 2: * * * Input: num = "232", target = 8 * Output: ["2*3+2",

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected