Explain the concept of vector recycling in R with an example of when it occurs and its implications.
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Explain how vector recycling works in R, when it happens, and what it means for your code. Tests your understanding of element-wise operations on vectors of different lengths, recycling warnings, and the silent bugs that recycling can cause in data analysis.