Check if One Array can be Nested in Another using a Ternary Operator
Create a function that returns true if the first array can be nested inside the second.
arr1 can be nested inside arr2 if:
arr1's min is greater than arr2's min. arr1's max is less than arr2's max.
Aucun commentaire:
Enregistrer un commentaire