PHP function to extract numbers from the list whose squares are exceed some threshold
Hints?  Ok. 


Don’t square the values, O(n), instead square-root the boundary.  You’ll need an or in your test, though.
Don’t unset values in the list.  That requires shifting values in memory.  Make a new list of same size, fill in values, without gaps, and then resize result.