Rippling interview question

look at tagged Leetcode String question