C Plus Plus Quiz
10 questions · no time limit
0:00
PROBLEM-SOLVING PATTERNS
Question 1 of 10
No time limit
Current
Answered
Flagged
Not seen
PASSAGE
The array
a = {6, -1, 4, 2, 5} is treated as circular. Its exclusive prefix array is p = {0, 6, 5, 9, 11, 16}. A circular query starts at index 3, continues through the end of the array, wraps to index 0, and stops at index 1, inclusive.Which prefix-sum expression correctly evaluates this circular query?
YOUR PROGRESS
10
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F
Answers save as you go · flagged questions come back at the end