InterviewDB Experience · Los Angeles

Client Side Validation: Build a Form Validation Library with Composable Rules

Interview Experience

Problem Build a JavaScript/TypeScript form validation library. Each field has one or more validation rules. Rules are composable — validators can be chained. When validate() is called, return all field errors. Example Follow-ups How do you support async validators (e.g., checking if a username is taken via API)? How do you implement cross-field validation (e.g., "password" must match "confirm_password")? How would you integrate this with React controlled components?

Full Details

🔒

Unlock all Jane Street questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a candidate experience report from a jane street interview during the phone round.

It covers the following topics: Coding, Phone, Onsite, Strings .