SIGN IN SIGN UP

Add Viterbi algorithm (#7509)

* Added Viterbi algorithm Fixes: #7465

Squashed commits

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added doctest for validators

* moved all extracted functions to the main function

* Forgot a type hint

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
C
Carlos Villar committed
7b521b66cfe3d16960c3fa8e01ff947794cc44a6
Parent: efb4a3a
Committed by GitHub <noreply@github.com> on 10/29/2022, 1:44:18 PM