Posts tagged Kata

Vincent Nguyen 5 March 2017

In a rainy Sunday, I have solved three katas.

Kata #1

Return the first longest string consisting of k consecutive strings taken in the array

Example:

  longest_consec(["zone", "abigail", "theta", "form", "libe",
            "zas", "theta", "abigail"], 2) ...