Hello!
When you look at the problem statement it says that as soon as you find the “elem” value inside the given nested arrays. You need to remove any arrays that contains this “elem”.
When you are stuck, the fastest way to get Hints would be to use the “Get Help” button → “Get a Hint” button (This buttons are located below the “Run Tests” button), which will lead you here for this particular challenge:
freeCodeCamp Challenge Guide: Iterate Through All an Array's Items Using For Loops.
And I assume you have already gone through this hints and solution and you are still facing doubts?