I am trying to construct a function called maxSquare. In which it takes a list of integers X and returns Xi with the maximum square value, without using loops.

Sample Input/Output

>>> maxSquare([5, ‐7, 3])

-7

If you coul help me with this, I would appreciate it.

Thanks in advance.