Get Responses
Problem Overview
- Implement a parser to validate HTTP GET/POST requests using a URL "token" and, for POST, a lowercase alphanumeric CSRF token (min length 8), then output URL params as a comma-separated list.
- Input: valid_auth_tokens (list) and requests (type, URL). Output: array of status strings: "VALID" or "INVALID", with parameters appended when valid.
- Context: web API authentication and URL parameter handling in client-server HTTP.
- Ibm interviews coding interview problem and interview question; constraints: m<=2e3, n<=5e3, token length=12.
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Input Variables
Execution Result:
