Concept Flow - Why slices are used
Have a collection (array or vector)
Create a slice: reference part of collection
Use slice to access or process subset
Avoid copying data, save memory and time
Slice ends when done, original data stays intact
Slices let you look at part of a collection without copying it, saving memory and making code faster.
