Ericsson Interview Question

find substring in a string, some fundamental knowledge about L1 and L2. Some research questions