Postgresql Array Functions Python Exercises Hackerrank