Swap refers to exchanging the values of two variables or elements in an array. It allows you to rearrange data without losing any information.
study better by seeing where Swap fits in our study guide app
Sort: The process of arranging elements in ascending or descending order based on certain criteria, such as numerical value or alphabetical order.
A data structure that stores multiple values under one variable name, allowing easy access and manipulation of those values.
A named storage location in computer memory that holds data which can change during program execution.