Java | Easy to Understand
\n\tpublic boolean canFormArray(int[] arr, int[][] pieces) {\n        StringBuilder sb = new StringBuilder();\n        for(int a : arr) \n            sb.append(
```\n\tpublic boolean canFormArray(int[] arr, int[][] pieces) {\n        StringBuilder sb = new StringBuilder();\n        for(int a : arr) \n            sb.append("#").append(a).append("#");\n        \n        String str = sb.toString();\n        for(int piece[] : pieces) {\n            StringBuilder p = new StringBuilder();\n            for(int item : piece) \n                p.append("#").append(item).append("#");\n            \n            if(!str.contains(p.toString())) return false;\n        }\n        return true;\n    }\n```
['Java']