Q2.15
MCQ2 marks, −0.5Suppose you are given an array and a procedure reverse which reverses the order of elements in between positions and (both inclusive). What does the following sequence do, where : reverse (s, 1, k); reverse (s, k+1, n); reverse (s, 1, n);
Sign in to save attempts.
Loading…