<filename>Python/make-two-arrays-equal-by-reversing-sub-arrays.py
class Solution:
    def canBeEqual(self, target, arr):
        target.sort()
        arr.sort()
        return target == arr

<filename>Python/make-two-arrays-equal-by-reversing-sub-arrays.py
class Solution:
    def canBeEqual(self, target, arr):
        target.sort()
        arr.sort()
        return target == arr
