I came across an interesting kata on Codewars. Let’s discuss the solution a little bit.