Q61. Explain caching strategies and common failure modes.
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...
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).
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...
Iterative (O(n) time, O(1) space): ```python def reverse(head): prev = None while head: nxt = head.next head.next = prev prev = head head = nxt return prev ``` Recursive ...
Rules: - If a.equals(b) is true then a.hashCode() == b.hashCode() must be true. - If two objects are unequal, their hash codes may still collide (allowed). - equals must ...
Sessions persist state across stateless HTTP requests. session_start() creates or resumes a session identified by a cookie (PHPSESSID) and stores data server-side. Securi...
Prevention does most of the work. Clear routines, an engaging task and a well planned start reduce disruption before it begins. I establish expectations early and rehears...
I prioritise by impact and urgency, not by who shouted loudest. First I apply the service level agreement: anything breaching a contracted response or resolution time, or...
I start with the goal and the audience. A nurture campaign exists to move a defined segment from one belief or behaviour to the next, not to send email for its own sake. ...
These are stages of qualification, not different kinds of people. A lead is an unqualified contact who has shown some interest, perhaps by downloading a guide or attendin...
DNS maps names to records, most importantly A and AAAA addresses, plus CNAME, MX, TXT and NS. A lookup can walk several servers, but caching means most lookups stop early...
Overfitting is when a model learns noise and idiosyncrasies of the training set instead of the underlying pattern. It performs well on training data but poorly on new dat...
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.