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 33, continues through the end of the array, wraps to index 00, and stops at index 11, 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