Question: Design a C++ program to check if two arrays are equivalent. If all elements in a array can be shifted to form another array, then
Design a C++ program to check if two arrays are equivalent. If all elements in a array can be shifted to form another array, then these two arrays are considered to be equivalent and return true. For example: the equivalent(int, int ,int) returns true if two arrays are equivalent.
You can use the attached template to start your work. Submit your solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
