NutanixSoftware Engineer · Technical ScreenCodemia practiceCompute Changed Byte Ranges Between Two Snapshot Extent Maps
Each snapshot of a vdisk is a sorted, non-overlapping list of (start, length, extent_id) mappings, with gaps meaning unallocated. Return the merged list of [start, end) ranges where the two snapshots map to different extents, which is what an incremental backup must copy.
Medium
Coding & Algorithms