Available question text
Implement two functions, `registerHandler(pattern)` and `getHandler(path)`, that form the core routing logic of a web framework. `registerHandler` adds URL patterns (which may include `{parameter}` placeholders) to the router, while `getHandler` matches an incoming request path against registered patterns and returns the matching pattern or null if none exists.
Related questions
Continue with questions that share topics or the same question type.
- about your self coding questions framework questions
Coding
- Build a concurrent web crawler
Coding · Concurrency · Networking
- Build a React Web Page to Display GDP Data
Coding
- Camelcase Matching
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Google
Implement HTTP Route Matching for a Web Framework
Reported Sep 30, 2026 · 10 source reports
JUNIOR, MID_LEVEL, SENIOR, STAFF
Source snapshot: Nov 12, 2026
View source