Reverse the array by tech mahindra march 2022

                                                 reverse the array 


connect with me on

write a function that returns the reverse of input  array..


in C++(for java solution scroll down)


java code 








Comments

Popular posts from this blog

LCM code tech mahindra 2022

Given two sorted arrays of size m and n .Find the number of common elements in them and also find what are that common elements.