Microsoft Interview Question

Some string manipulation problem like finding a substring.