The Camera Sequencer toolbar buttons let you quickly remove gaps between shots, or remove the overlap between shots covering the same time range so that they instead cover separate time ranges.
To snap shots together
To remove overlap between shots
To remove gaps and overlapping shots