What is the stringsAsFactors history in R and why did it matter?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks what the stringsAsFactors setting in R used to do, why its default changed, and which problems it caused in everyday analysis code. Tests practical knowledge of R data frames, factor types and writing scripts that behave the same across R versions.