[[ NO LOOPS ]] 2-Line Python Solution
\n    def canFormArray(self, arr, pieces):\n        kv = {e[0]: e for e in pieces}\n        return arr == list(itertools.chain(*[ kv.get(e, []) for e in arr]))\
```\n    def canFormArray(self, arr, pieces):\n        kv = {e[0]: e for e in pieces}\n        return arr == list(itertools.chain(*[ kv.get(e, []) for e in arr]))\n```
['Python']