Open Shradha1303 opened 1 year ago
This pull request introduces C++ code for array rotation, allowing an integer array to be rotated to the right by a specified number of steps 'k'. The code includes a Solution class housing a rotate method, and a main function for user interaction.
This pull request introduces C++ code for array rotation, allowing an integer array to be rotated to the right by a specified number of steps 'k'. The code includes a Solution class housing a rotate method, and a main function for user interaction.