Company: Emergent_3june
Difficulty: medium
Google OAuth Skeleton (optional - attend 1/3 coding questions) Implement a simplified OAuth 2.0 flow with state validation and mock token exchange. Input Format START_AUTH <redirect_url> CALLBACK <code> <state> <original_state> GET_USERS Output Format START_AUTH: <state> CALLBACK: invalid_state | invalid_code | user@gmail.com GET_USERS: Count, then emails Constraints 1 ≤ n ≤ 500 Code must start with "valid_" to be valid