def linear_probe(h, i, m):
    """
    Finds a possible next position using linear probing

    :param h: Computed hash value that has resulted in a collision
    :param i: Offset
    :param m: Size of the table
    :return: The next index to be checked if it is open
    """
    return (h + i) % m