First question was about checking if a string containing only parentheses could be balanced by moving one or less parentheses to a different position in the string. The second question asked you to query a rest API and do some filtering on the data returned.