Q1. Write a small tokenizer and explain the design choices.
A lexer converts a character stream into tokens. A hand-written tokenizer scans one character at a time and skips whitespace. ```python def tokenize(src): tokens, i = [],...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (1 available).