Video solution in C++, Python and Haskell: https://youtu.be/51Bj6NCHKL0
Chef got Recipes Video Editorial
Chef and a Beautiful Digit Video Editorial
Chef and Number Game Video Editorial
Yet Again a Subarray Problem