Tesla interview question

any related proj; diff between fact table and dimension table