Call Support +91-85588-96644
TCYonline

Login

Sign Up

Please enter a Username or Email ID
Please enter a password
Keep me logged in
Please enter your name
Please enter your mobile number
You can't leave Captcha Code empty
By submitting this form, you agree to the Terms & Privacy Policy.
OR

Sign Up via Facebook

Sign Up via Google

Sign Up via Twitter

Download Software
Tests given

Download TCY App

App Image

Suppose one is given array s [1…n] and a procedure reverse (s, i, j), which reverses the order of elements in a between position i and j (both inclusive). What does the following sequence do? Where 1 < k < = n: Reverse (s, 1, k); Reverse (s, k + 1), n: Reverse (s, i, n)

 
Rotates 5 left by k positions
Leaves 's' unchanged
Reverses all elements of 's'
None of the above

Reply


Please type your answer before submitting.
Submit

Men=6:9}2100:x
Days=15:12
POE =POM
6*15*x= 9*12*2100
90x. =9*12*2100
x. =9*12*2100/90
x =3*2*420
x. =2520

Not clear by explanation