What is an environment in R and how does it differ from a list?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what an environment is in R and how it compares with a list. Tests your understanding of how R copies objects on assignment and modification, how each container is indexed, and how variable lookup follows scopes.