Make Two Arrays Equal by Reversing Sub-arrays

Опубликовано: 12 Декабрь 2020
на канале: coding interview questions
332
2

Given two integer arrays of equal length.

In one step, you can select any non-empty sub-array of arr and reverse it. You are allowed to make any number of steps.

Return True if you can make arr equal to target, or False otherwise.

https://leetcode.com/problems/merge-t...


Смотрите видео Make Two Arrays Equal by Reversing Sub-arrays онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь coding interview questions 12 Декабрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 332 раз и оно понравилось 2 людям.