Available question text
Simulate execution of an instruction list starting at index 0 where "add" increases the score by values[i] and advances to i+1, while "jump" moves to i+values[i]; stop when you go out of bounds or would revisit an instruction, and return the accumulated score.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3522. Calculate Score After Performing Instructions
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source