Loading Company...
This is a verified interview question from Amazon-ml-summer-school. Candidates reporting seeing this problem in recent Online Assessments (OAs) and onsite rounds. Mastering "Number of Rotated Sorted Arrays" covers key patterns like Other.
"Given two sorted arrays `nums1` and `nums2`, return the number of rotated sorted arrays that can be formed by concatenating `nums1` and `nums2`. A sorted array is considered rotated if it can be obtained by rotating any of the previous sorted arrays."
Join thousands of developers practicing for Amazon-ml-summer-school.