Rotate an array by k positions in place. No extra array should be used.

Problem Name:
Rotate an array by k positions in place. No extra array should be used.
Site:HackerEarth
Links:
Tags:
Problem setters:
NameSite ProfileTime of submissionProblemLanguageStatusPointsView/Download Code
2020-05-27 15:38:18CAccepted100
2020-05-27 15:37:41CAccepted100
2020-05-20 18:20:24C++14Accepted100
2020-05-20 18:18:28C++14Accepted100
2020-05-20 18:16:27C++14Wrong Answer0
2020-05-20 18:07:06C++14Accepted100
2020-05-20 18:06:12C++14Accepted100
2020-05-20 18:04:48C++14Wrong Answer0
2020-05-20 18:01:53C++14Wrong Answer0
2020-05-20 18:00:42C++Wrong Answer0
2020-05-20 17:44:51C++14Wrong Answer0
2020-05-20 17:41:49C++14Wrong Answer0
2020-04-26 04:16:19C++Accepted100
2020-04-26 04:05:19C++Wrong Answer0
2020-04-25 20:53:14Java 8Accepted100
2020-04-25 00:14:27Java 8Runtime Error0
2019-06-21 18:48:23C++14Accepted100
2019-06-21 18:48:23C++14Accepted100
2018-01-17 16:42:11C++14Accepted100
2017-10-03 11:12:06C++Accepted100
2017-10-03 11:12:06C++Accepted100
2017-07-06 11:59:10CAccepted100
2017-07-06 11:58:59CAccepted100