Define and compare smart pointers
Company: xAI
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Technical Screen
Quick Answer: This question evaluates understanding of memory management and ownership semantics, covering competencies such as RAII, reference counting, lifetime management, custom deleters, and the roles of unique, shared, and weak smart pointer types.