Computer Science, asked by shindenagesh1436, 4 months ago

write
algorithm to reverse the element of
amay​

Answers

Answered by anushkabhosale11
0

Answer:

Given an array (or string), the task is to reverse the array/string.

Examples :  

 

Input  : arr[] = {1, 2, 3}

Output : arr[] = {3, 2, 1}

Input :  arr[] = {4, 5, 1, 2}

Output : arr[] = {2, 1, 5, 4}

Explanation:

Similar questions