FLIP Technologies interview question

GraphQL vs Rest APIs, cons and pros