42. Are Two Arrays Equal?

Medium

Return True if arrays A and B have identical shape and elements, else False.

Implement solve(...)