Checking via comparing only, right? 😅
In your earlier comment, you were comparing the first element of w1 and w2, that’s what we can’t do here as the first element of w1 will be at the lowest position and the first element of w2 will be encountered after the last element of w1. So, we can’t check here. So, it’s not a CFL.