data_structures/trees/binaryHeap.py
def _swap(self, i, j):
        """
        Swap the elements identified by the given indexes
        :param i: index of the first element
        :param j: index of the second element
        :return: None
        """
        self.data[j], self.data[i] = self.data[i], self.data[j]

        Swap the elements identified by the given indexes
        :param i: index of the first element
        :param j: index of the second element
        :return: None
        
Swap the elements identified by the given indexes
Swap the elements identified by the given indexes
def _swap(self, i, j):
        self.data[j], self.data[i] = self.data[i], self.data[j]
def _swap ( self , i , j ) : self . data [ j ] , self . data [ i ] = self . data [ i ] , self . data [ j ]
Swap the elements identified by the given indexes
Swap the elements identified by the given indexes
"""
        Swap the elements identified by the given indexes
        :param i: index of the first element
        :param j: index of the second element
        :return: None
        """
None
self
i
index of the first element
index of the first element
j
index of the second element
index of the second element