DXC Technology Interview Question

Easy to Medium Array and string question like reverse the string, palindrome number, patterns, rotate the array by k steps etc.