LotusFlare interview question

Sharding vs Partitioning and its main differences