Airbnb logoAirbnb
Coding·45 minMembers

URL Query-String Parser

Members only

Given a URL string, parse its query portion into a dictionary. Handle keys without values, repeated keys (collect into a list), and URL-encoded characters (`%26`, `%3D`, …) via an unquote helper.

SWE
string
parsing
hashmap
string-processing
easy
Frequency
Medium
Last asked
2026-08-26
Stage
tech-screen · phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...