Amazon Interview Question

how can fragmentation be calculated in Oracle database