Interview
Question Bank
Interview Questions
Referral Contact Lists
• New
Interview Assistant
Support
Sign In
Toggle theme
Home
Question
Software Engineer
Technical
Meta
Implement a function rotateArray(vector<int> arr, int r) which rotates the array by r places. Eg 1 2 3 4 5 on being rotated by 2 gives 4 5 1 2 3.
April 22, 2025
Generate AI Answer