Robin AI interview question

find string in substring; some basic system design diagram