Toptal Interview Question

2d array, string manipulation, two pointers, sliding windows etc.