Fibonacci sequence and edit distance