Q1. What is caching and why is it used?
Caching stores a copy of data in a faster or closer tier so future reads avoid the slower origin. It reduces latency, increases throughput, lowers load and cost on databa...
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 (59 available).
Caching stores a copy of data in a faster or closer tier so future reads avoid the slower origin. It reduces latency, increases throughput, lowers load and cost on databa...
Core Web Vitals are user-centric metrics for loading, interactivity and visual stability. LCP, Largest Contentful Paint, measures when the largest visible element, usuall...
LCP is dominated by four factors: time to first byte, resource load time, render-blocking resources and client-side rendering delay. First ensure fast TTFB with caching, ...
`string` is immutable: every operation such as concatenation or `Replace` allocates a new string. `StringBuilder` is a mutable buffer backed by a resizable array, so appe...
- ArrayList: array-backed, O(1) random access, amortised O(1) append, O(n) insertion/removal in the middle. Best default for ordered lists. - LinkedList: doubly linked, O...
An index is a B-tree structure storing a sorted subset of a collection's fields, letting the planner find documents without scanning everything. Without an index a query ...
CLS measures how much visible content moves unexpectedly. The score for a shift is the impact fraction times the distance fraction, summed over the session, excluding shi...
Strategies: - Cache-aside (lazy loading): app checks cache, on miss reads DB and populates. Most common. - Read-through: cache library fetches on miss. - Write-through: w...
Node runs JavaScript on a single thread, so scaling options are: - Cluster module or a process manager (PM2) to fork one process per core behind a shared port. Good for t...
A clustered index defines the physical order of rows in the table. Because the data is stored in that order, a table can have only one clustered index, usually the primar...
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.