@launchmenu/core
Version:
An environment for visual keyboard controlled applets
9 lines • 450 B
TypeScript
/**
* Retrieves the longest subsequence of two sequences
* @param S1 The first sequence
* @param S2 The second sequence
* @param equals A function to determine whether two items in the sequences are equal
* @returns A list of the indexes of sequence 1 and 2 that contained the same item
*/
export declare function getLCS<A, B>(S1: A[], S2: B[], equals?: (a: A, b: B) => boolean): [number, number][];
//# sourceMappingURL=getLCS.d.ts.map