Windsurf interview question

LeetCode Hards - Graph and String questions