What is the fundamental difference between a vector and a list in R?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Explain the difference between an atomic vector and a list in R, including how each stores mixed types and how indexing works on them. It tests your grasp of type coercion, the single and double bracket operators, and why data frames behave like lists of columns.