one_away: Check whether the Levenshtein distance is <= 1L

Description Usage Arguments

View source: R/chapter_1.R

Description

Based on https://codereview.stackexchange.com/a/178993/172577

Usage

1
one_away(left, right)

Arguments

left

The 'left' word to check.

right

The 'right' word to check.


bobjansen/algoRist documentation built on Feb. 14, 2022, 6:01 a.m.