Data Structures and Algorithms UNIT – II Snapshots Introduction The General Method Binary Search Finding the Maximum…