info@avatto.com
+91-9920808017
0. Consider the following rule in an OPS5 like language: (p some-operation (array ^index <i> ^value<n>)) (aray ^index <j> > <i> ^value <m> < <n>) → (modify 1 ^value <m>)) modify 2 ^value <m>) )
It sorts an array in descending order
It swaps every two subsequent elements in an array
It swaps two elements that are in an incorrect order in an array
It traverses the array once, swapping every two elements that are in an incorrect order
You must be logged in to post a comment.
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login
You must be logged in to post a comment.