Spring Hire Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
08
:
04
:
58
:
50
Back to Dashboard
[CodeSignal] Grid Arithmetic Path
Hard
You are given a grid where each cell contains either a single digit ('0' to '9') or an arithmetic operator ('+' or '-'). Starting from any cell, you may move only right or down to form a path. The characters along the path are concatenated to form an arithmetic expression.
An expression is valid if: ...