6sense Interview Question

Basic string subset problem and LRU implementation.