from typing import List
import math


def get_block_size(array: List[int]) -> int:
    """
    Gets the block size of an array for jump search.
    The block size is the square root of the length of the array.

    We then calculate the absolute value of this block size, because we're using the value as
    index pointer, and negative values do not make sense here.

    This value is then floored to act as index pointer in the array.
    :param array: is the array to search.
    :return: the block size to be used in jump search.
    """
    return math.floor(abs(math.sqrt(len(array))))