Rubrik | OA | Hackerrank | PaloAlto

You are given 2 array with non-repeating numbers

  1. Pick any number from array1
  2. You can place the number at the start or end of the array2

Find the min operations required to convert second array to first one. Can someone suggest ways to do it.

Comments (5)