Capgemini interview question

difference between scd type1 and scd type2