Q111. What is cross-validation and why use it?
Cross-validation repeatedly splits data into training and validation folds to estimate how well a model generalizes. In k-fold, the data is split into k parts; the model ...
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 (329 available).
Cross-validation repeatedly splits data into training and validation folds to estimate how well a model generalizes. In k-fold, the data is split into k parts; the model ...
Attack the layers, base image, and build context. - Use a minimal base: alpine, distroless, or scratch for static binaries. - Use multi-stage builds: compile in one stage...
Role-Based Access Control assigns permissions to roles and roles to users, for example `admin` can delete any order. It is simple to reason about, easy to audit and a goo...
A saga replaces a single ACID transaction across services with a sequence of local transactions, each publishing an event or invoking the next step. If a step fails, prev...
Two options: - Offset/limit: `orders(offset: 40, limit: 20)`. Easy to implement but unstable when items are inserted or removed and slow at large offsets. - Cursor-based ...
Two main approaches: - Offset pagination: `GET /items?limit=20&offset=40`. Simple and allows jumping to a page, but degrades as offsets grow because the database must sca...
Live regions announce content that changes without a page reload, such as form errors, toast messages, search result counts or a chat log. The aria-live attribute has val...
Slots let a parent pass markup into a child. A default slot is placed with slot in the child and any children of the parent's component tag fill it. Named slots use slot ...
Both unwrap optionals, but `guard` is designed for early exit and keeps the happy path unindented. Its `else` branch must exit the current scope with `return`, `break`, `...
An interface is a set of method signatures. Any type that implements all of them satisfies the interface implicitly, with no `implements` keyword. Internally an interface...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.