Filter interviews by
Reverse a string and rotate arrays in an array of strings.
To reverse a string, use built-in functions like reverse() or loop through the characters in the string.
To rotate arrays, use functions like slice() and concat() to rearrange the elements in the array.
Example: Reverse 'hello' to 'olleh' and rotate array ['a', 'b', 'c'] to ['b', 'c', 'a'].
Software Engineer
13
salaries
| ₹4.1 L/yr - ₹13 L/yr |
Software Developer
13
salaries
| ₹2.7 L/yr - ₹9.4 L/yr |
HR Manager
6
salaries
| ₹5 L/yr - ₹5.8 L/yr |
React Developer
6
salaries
| ₹3 L/yr - ₹6 L/yr |
Junior Software Developer
5
salaries
| ₹2.4 L/yr - ₹3 L/yr |
Infosys
TCS
Wipro
HCLTech