Doist Interview Question

Explain sharding, partitioning, and replication.