Robinhood interview question

Rotation matrix and Gravity fall matrix