from typing import List


def get_subarray_indices(subarray, array) -> List[int]:
    """
    Get the start index and length of a subarray or subsequence
    
    Args:
        subarray ([type]): Subsequence
        array ([type]): Original sequence

    Returns:
        List: First argument is the start index and second is the length
        of the sequence
    """
    window_size = len(subarray)
    for i in range(len(array) - window_size + 1):
        if subarray == array[i:i+window_size]:
            return [i, window_size]
    return [-1, -1]