Menu

## TimeEfficientLongestCommonSubsequenceCalculator
in package
implements LongestCommonSubsequenceCalculator

TimeEfficientLongestCommonSubsequenceCalculator.php : 17

### Interfaces, Classes and Traits

LongestCommonSubsequenceCalculator

### Table of Contents

calculate() : array<string|int, mixed>
  Calculates the longest common subsequence of two arrays.

### Methods

#### calculate()

TimeEfficientLongestCommonSubsequenceCalculator.php : 22

Calculates the longest common subsequence of two arrays.

`public calculate(array<string|int, mixed> $from, array<string|int, mixed> $to) : array<string|int, mixed>`

##### Parameters

$from : array<string|int, mixed>
$to : array<string|int, mixed>

##### Return values

array<string|int, mixed> —

## Search results